We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa7ac4 commit f600954Copy full SHA for f600954
.github/workflows/ci.yml
@@ -1,15 +1,16 @@
1
name: CI
2
-on: [push]
+on: [push, pull_request]
3
jobs:
4
- build:
+ test:
5
runs-on: ubuntu-latest
6
steps:
7
- uses: actions/checkout@v4
8
- uses: actions/setup-python@v5
9
with:
10
python-version: '3.11'
11
+ - uses: actions/cache@v4
12
+ with:
13
+ path: ~/.cache/pip
14
+ key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
15
- run: pip install -r requirements.txt
- - name: Run pytest
- env:
- PYTHONPATH: ${{ github.workspace }}:${{ github.workspace }}/src
- run: pytest -q
16
+ - run: pytest -q
0 commit comments