Skip to content

Commit

Permalink
build jobs in one file
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Mrázek committed Oct 7, 2022
1 parent df1a468 commit 34892aa
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 62 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
branches: master

jobs:
build:
build-ubuntu:
name: Build ubuntu
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -25,3 +25,21 @@ jobs:
poetry run task build
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2

build-windows:
name: Build windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Build
run: |
poetry run task build
25 changes: 0 additions & 25 deletions .github/workflows/windows.yml

This file was deleted.

1 change: 0 additions & 1 deletion src/wanna/components/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ def load_wanna_component(path: Union[Path, str]):
with open(str(path), "r") as f:
t = Template(f.read())
component = t.safe_substitute(os.environ)
print(component)
return comp.load_component_from_text(component)
1 change: 0 additions & 1 deletion tests/deployment/test_gcp_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def test_upsert_cloud_function(self):
CloudFunctionsServiceClient.get_function = MagicMock()
CloudFunctionsServiceClient.update_function = MagicMock()

print(resource)
function_path, function_url = self.connector.upsert_cloud_function(
resource=resource, version=self.version, env=self.env
)
Expand Down
33 changes: 0 additions & 33 deletions wanna.yaml

This file was deleted.

0 comments on commit 34892aa

Please sign in to comment.