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 ceba94d
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Backend
on:
pull_request:
paths:
- 'src/**'
- 'tests/**'
- pyproject.toml
- Makefile
- requirements*.txt
- .github/workflows/backend.yml
- "src/**"
- "tests/**"
- "pyproject.toml"
- "Makefile"
- "requirements*.txt"
- ".github/workflows/backend.yml"

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,18 @@ 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'
- continue-on-error: True
run: |
python --version

0 comments on commit ceba94d

Please sign in to comment.