Skip to content

Commit ed8cb0b

Browse files
authored
Update testing.yml
1 parent c87d97c commit ed8cb0b

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/testing.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-python@v4
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.11"
1919
cache: pip
2020
cache-dependency-path: pyproject.toml
2121

2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install .[strict]
26-
pip install .[tests]
27-
pip install .[dev]
25+
pip install .[tests,dev]
2826
2927
- name: Lint
3028
run: |
@@ -34,12 +32,12 @@ jobs:
3432
runs-on: ubuntu-latest
3533
strategy:
3634
matrix:
37-
python-version: [ "3.9", "3.10", "3.11" ]
35+
python-version: ["3.10", "3.11", "3.12"]
3836

3937
steps:
40-
- uses: actions/checkout@v2.3.4
38+
- uses: actions/checkout@v4
4139

42-
- uses: actions/setup-python@v2.2.2
40+
- uses: actions/setup-python@v5
4341
with:
4442
python-version: ${{ matrix.python-version }}
4543

@@ -53,15 +51,14 @@ jobs:
5351
- name: Install dependencies
5452
run: |
5553
python -m pip install --upgrade pip
56-
pip install .[strict]
5754
pip install .[tests]
5855
5956
- name: Test
6057
run: |
6158
pytest --cov=pyrho --cov-report=xml
6259
6360
- uses: codecov/codecov-action@v1
64-
if: matrix.python-version == 3.8
61+
if: matrix.python-version == 3.11
6562
with:
6663
token: ${{ secrets.CODECOV_TOKEN }}
6764
file: ./coverage.xml
@@ -70,19 +67,18 @@ jobs:
7067
runs-on: ubuntu-latest
7168

7269
steps:
73-
- uses: actions/checkout@v3
70+
- uses: actions/checkout@v4
7471

7572
- name: Install pandoc
7673
run: sudo apt-get install pandoc
7774

78-
- uses: actions/setup-python@v3
75+
- uses: actions/setup-python@v5
7976
with:
8077
python-version: 3.11
8178

8279
- name: Install dependencies
8380
run: |
8481
python -m pip install --upgrade pip
85-
pip install -e .[strict]
8682
pip install -e .[docs]
8783
- name: Build
8884
run: sphinx-build docs/source _build

0 commit comments

Comments
 (0)