Skip to content

Combine the state types into Desk and Session #81

Combine the state types into Desk and Session

Combine the state types into Desk and Session #81

Workflow file for this run

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 }}