rename src to app #22
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 | |
- run: pip install -r dev-requirements.txt | |
- name: Install Core | |
run: poetry install | |
working-directory: ./libs/core | |
- name: Build Core | |
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 Types Core | |
run: pyright . | |
working-directory: ./libs/core | |
- name: Check Types Studio | |
run: pyright . | |
working-directory: ./libs/studio |