Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Aug 19, 2024
1 parent 8c87b0e commit f9d1d38
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,30 @@ jobs:

- run: pip install -r requirements.txt

- name: Install Core
run: poetry install
working-directory: ./libs/core

- name: Build Core
run: hatch build
working-directory: ./core
run: poetry build
working-directory: ./libs/core

- name: Test Core
run: hatch test
working-directory: ./core
run: python3 -m pytest tests/
working-directory: ./libs/core

- name: Check Types Core
run: mypy --install-types --non-interactive .
working-directory: ./src/core
- name: Test Studio
run: python3 -m pytest tests/
working-directory: ./libs/studio

- name: Build Studio
run: hatch build
working-directory: ./studio
run: poetry build
working-directory: ./libs/studio

- name: Test Studio
run: hatch test
working-directory: ./studio
- name: Check Types Core
run: mypy --install-types --non-interactive .
working-directory: ./libs/core

- name: Check Types Studio
run: mypy --install-types --non-interactive .
working-directory: ./src/studio
working-directory: ./libs/studio
2 changes: 1 addition & 1 deletion checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cd ../..
# TODO test build?

echo "${headerStart}Checking Types${headerEnd}"
#cd src/core
#cd libs/core
#mypy --install-types --non-interactive .
#cd ../studio
#mypy --install-types --non-interactive .
Expand Down

0 comments on commit f9d1d38

Please sign in to comment.