Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Sep 26, 2024
1 parent 0cf8b93 commit a5876f5
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
paths:
- 'src/**'
- 'tests/**'
- pyproject.toml
- Makefile
- requirements*.txt
- .github/workflows/backend.yml
- 'pyproject.toml'
- 'Makefile'
- 'requirements*.txt'
- '.github/workflows/backend.yml'

permissions:
contents: read
Expand All @@ -20,7 +20,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: '3.12'
cache: 'pip'
- name: Lint backend
run: |
python -m pip install --upgrade pip
Expand All @@ -29,12 +30,20 @@ jobs:
pre-commit run --all-files ruff
test-backend:

runs-on: ubuntu-latest
continue-on-error: ${{ matrix.python-version != '3.12' }}
strategy:
fail-fast: true
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Build frontend and share library
shell: bash
run: make build-frontend
Expand Down

0 comments on commit a5876f5

Please sign in to comment.