SUBMISSION-79: Initial Use of Author's Work (was License) UI updates. #63
Workflow file for this run
This file contains hidden or 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
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: Python application | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| pull_request: | |
| branches: [ "develop" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install protobuf compiler | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Test with pytest | |
| run: | | |
| # Much of the coverage settings are in pyproject.toml | |
| uv run pytest \ | |
| --cov=submit_ce --cov-report=term-missing \ | |
| --ignore=submit_ce/implementations/pubsub | |
| - name: Ruff lint check | |
| run: | | |
| uv pip install ruff | |
| uv run ruff check --output-format=github submit_ce | |
| continue-on-error: true |