Improve type check scripts #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: "pip" | |
- run: pip install -r requirements.txt | |
- name: Build Core | |
run: hatch build | |
working-directory: ./core | |
- name: Test Core | |
run: hatch test | |
working-directory: ./core | |
- name: Check Types Core | |
run: mypy --install-types --non-interactive . | |
working-directory: ./src/core | |
- name: Build Studio | |
run: hatch build | |
working-directory: ./studio | |
- name: Test Studio | |
run: hatch test | |
working-directory: ./studio | |
- name: Check Types Studio | |
run: mypy --install-types --non-interactive . | |
working-directory: ./src/studio |