Skip to content

Commit f6c1849

Browse files
Update ci.yml
1 parent 3ce4979 commit f6c1849

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI
2+
23
on:
34
push:
45
pull_request:
@@ -8,24 +9,12 @@ jobs:
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/checkout@v4
11-
12-
- name: Set up Python
13-
uses: actions/setup-python@v5
14-
with:
15-
python-version: '3.11'
16-
17-
- name: Cache pip
18-
uses: actions/cache@v4
12+
- uses: actions/setup-python@v5
1913
with:
20-
path: ~/.cache/pip
21-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
22-
14+
python-version: "3.11"
2315
- name: Install deps
2416
run: |
2517
python -m pip install --upgrade pip
2618
pip install -r requirements.txt
27-
python -c "import sys,pytest,platform; print('Pytest',pytest.__version__,'on',platform.python_version());"
28-
29-
- name: Run tests (verbose)
30-
run: |
31-
python -m pytest -vv --maxfail=1 --disable-warnings
19+
- name: Run tests
20+
run: pytest -q

0 commit comments

Comments
 (0)