Skip to content

Commit

Permalink
Update CI to run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Aug 19, 2024
1 parent bb4ad1a commit 5e482b0
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- run: pip install -r requirements.txt
- run: pip install -r dev-requirements.txt

- name: Test All Python
run: python3 -m pytest .

- name: Check Python Types
run: pyright .

- name: Install Core
run: poetry install
working-directory: ./libs/core
Expand All @@ -25,21 +31,10 @@ jobs:
run: poetry build
working-directory: ./libs/core

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

# Remove this later: needed as server expects this dir to exist
- name: Mock Studio Web UI
run: mkdir -p ./app/web_ui/build

- name: Test Studio
run: python3 -m pytest tests/
working-directory: ./libs/studio

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

- name: Check Python Types
run: pyright .

0 comments on commit 5e482b0

Please sign in to comment.