Skip to content

ci: Create action for docker builds #762

ci: Create action for docker builds

ci: Create action for docker builds #762

Workflow file for this run

# This workflow will install Python dependencies, and run the tests for our project
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'bump:')"
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.13"]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install uv
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
- name: Install the project
run: uv sync --locked --group dev --python ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest tests