diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 0fae296..5812a16 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 diff --git a/checks.sh b/checks.sh index 9ce25e6..d1686e8 100755 --- a/checks.sh +++ b/checks.sh @@ -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 .