Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-heurtier-idemia committed Dec 8, 2023
1 parent 892b7ba commit ea684bf
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 7 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,31 @@ on:
- push

jobs:
pytest:
pytest_old:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9"]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Run pytest
run: |
python -m pip install tox
python -m tox -e py-flask2-django32,py-flask2-django41,py-flask2-django42,py-flask3-django32,py-flask3-django41,py-flask3-django42
pytest_new:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]

runs-on: ${{ matrix.os }}
steps:
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

python:
version: 3.8
install:
- requirements: docs/requirements.txt

Expand Down
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-e .
sphinx == 4.0.2
aiohttp == 3.7.4
django == 3.2.18
flask == 2.0.1
sphinx >= 4.0.2
aiohttp >= 3.7.4
django >= 3.2.18
flask >= 2.0.1
jinja2 >= 3.0.1
PyYAML >= 5.4.0

0 comments on commit ea684bf

Please sign in to comment.