Skip to content

Adds file operations to FileStore #47

Adds file operations to FileStore

Adds file operations to FileStore #47

Workflow file for this run

# 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 and pubsub emulator
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler google-cloud-cli-pubsub-emulator
- 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
- name: Ruff lint check
run: |
uv pip install ruff
uv run ruff check --output-format=github submit_ce
continue-on-error: true