Skip to content

Commit b3ac121

Browse files
committed
fix ci
1 parent 07795bb commit b3ac121

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/test-and-release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,42 @@ env:
1313

1414

1515
jobs:
16-
test:
17-
name: Test with Python ${{ matrix.py }}
18-
runs-on: ubuntu-latest
19-
strategy:
20-
fail-fast: false
21-
matrix:
22-
py:
23-
- "3.11"
24-
- "3.12"
25-
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v4
28-
with:
29-
fetch-depth: 0
16+
test:
17+
name: Test with Python ${{ matrix.py }}
18+
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
py:
23+
- "3.11"
24+
- "3.12"
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
3030

31-
- name: Install system dependencies
32-
run: sudo apt-get install -y poppler-utils
33-
- name: Setup python for test ${{ matrix.py }}
34-
uses: actions/setup-python@v5
35-
with:
36-
python-version: ${{ matrix.py }}
31+
- name: Install system dependencies
32+
run: sudo apt-get install -y poppler-utils
33+
- name: Setup python for test ${{ matrix.py }}
34+
uses: actions/setup-python@v5
35+
with:
36+
python-version: ${{ matrix.py }}
3737

38-
- name: Install tox
39-
run: python -m pip install tox-gh
40-
- name: Setup test suite
41-
run: tox -vv --notest
42-
- name: Run test suite
43-
run: tox --skip-pkg-install
38+
- name: Install tox
39+
run: python -m pip install tox-gh
40+
- name: Setup test suite
41+
run: tox -vv --notest
42+
- name: Run test suite
43+
run: tox --skip-pkg-install
4444

4545
build:
4646
runs-on: ubuntu-latest
4747
permissions:
4848
contents: read
4949
packages: write
50-
# needs:
51-
# - test
50+
needs:
51+
- test
5252

5353
steps:
5454
- name: Checkout repository

0 commit comments

Comments
 (0)