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 496a81d
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 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/**'

permissions:
contents: read
Expand All @@ -21,6 +21,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
- name: Lint backend
run: |
python -m pip install --upgrade pip
Expand All @@ -35,6 +36,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
- name: Build frontend and share library
shell: bash
run: make build-frontend
Expand All @@ -50,3 +52,17 @@ jobs:
- name: Pytest
timeout-minutes: 5
run: python -m pytest

test-backend-on-old-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name:
continue-on-error: True

0 comments on commit 496a81d

Please sign in to comment.