1414 fail-fast : false
1515 matrix :
1616 include :
17- - python-version : 3.8
17+ - python-version : 3.9
1818 env :
1919 TOXENV : flake8
20- - python-version : 3.7
21- env :
22- TOXENV : py
23- - python-version : 3.8
24- env :
25- TOXENV : py
2620 - python-version : 3.9
2721 env :
2822 TOXENV : py
@@ -38,30 +32,44 @@ jobs:
3832 - python-version : " 3.11"
3933 env :
4034 TOXENV : latest
41- - python-version : " 3.11"
35+ - python-version : " 3.12"
36+ env :
37+ TOXENV : py
38+ - python-version : " 3.12"
39+ env :
40+ TOXENV : latest
41+ - python-version : " 3.13"
42+ env :
43+ TOXENV : py
44+ - python-version : " 3.13"
45+ env :
46+ TOXENV : latest
47+ - python-version : " 3.13"
4248 env :
4349 TOXENV : twinecheck
44- - python-version : " 3.11 " # Keep in sync with tox.ini
50+ - python-version : " 3.12 " # Keep in sync with tox.ini
4551 env :
4652 TOXENV : docs
4753 steps :
4854 - uses : actions/checkout@v3
4955 - name : ' Set up Python ${{ matrix.python-version }}'
50- uses : actions/setup-python@v4
56+ uses : actions/setup-python@v5
5157 with :
52- python-version : ' ${{ matrix.python-version }}'
58+ python-version : ${{ matrix.python-version }}
5359 - name : Install language-pack-fr
54- run : sudo apt-get update && sudo apt-get install language-pack-fr
55- - name : Install python dependencies
56- run : pip install tox
57- - name : tox
58- run : tox -e py
60+ run : sudo apt-get update && sudo apt-get install -y language-pack-fr build-essential
61+ - name : Install dependencies
62+ run : |
63+ python -m pip install --upgrade pip
64+ pip install tox
65+ - name : Run tests
66+ run : tox -e ${{ matrix.env.TOXENV }}
5967 - name : Upload coverage.xml to codecov
60- if : ${{ matrix.python-version == '3.9' && matrix.env.TOXENV == 'latest'}}
68+ if : ${{ matrix.env. python-version == '3.9' && matrix.env.TOXENV == 'latest' }}
6169 uses : codecov/codecov-action@v3
6270
6371 pre-commit :
6472 runs-on : ubuntu-latest
6573 steps :
66- - uses : actions/checkout@v3
67- -
uses :
pre-commit/[email protected] 74+ - uses : actions/checkout@v3
75+ -
uses :
pre-commit/[email protected]
0 commit comments