Skip to content

Commit bbfa7b2

Browse files
committed
Update CI workflow
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
1 parent 90f4629 commit bbfa7b2

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,16 @@ jobs:
1616
run:
1717
shell: bash
1818
steps:
19-
- uses: actions/checkout@master
19+
- uses: actions/checkout@v3
2020
- name: Setup Python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v3
2222
with:
2323
python-version: ${{ matrix.python-version }}
24-
- uses: actions/cache@v2
25-
with:
26-
path: ~/.cache/pip
27-
key: pip-${{ hashFiles('**/requirements-dev.txt') }}
28-
restore-keys: |
29-
pip-${{ secrets.CACHE_VERSION }}-
30-
- name: Install development dependencies
31-
run: pip install -r requirements-dev.txt
32-
- name: Install package & dependencies
33-
run: pip install .
24+
cache: "pip"
25+
- name: Install dependencies
26+
run: python -m pip install -r requirements.txt -r requirements-dev.txt .
3427
- name: Test
35-
run: pytest
28+
run: python -m pytest
3629

3730
release:
3831
name: "Release"

0 commit comments

Comments
 (0)