Combine the state types into Desk and Session #81
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 3 1 * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v2 | |
- name: Set up python | |
run: uv python install | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Run ruff check | |
run: uv run ruff check bin autodesk tests | |
- name: Run tests | |
run: uv run pytest --cov=autodesk --cov-branch --cov-report=term --cov-report=json tests | |
- name: Run coverage JSON report | |
run: uv run coverage json | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |