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 4, 2022
1 parent df1a468 commit 8a0d6c7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 61 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)
33 changes: 0 additions & 33 deletions wanna.yaml

This file was deleted.

0 comments on commit 8a0d6c7

Please sign in to comment.