Skip to content

Commit a5bdcfd

Browse files
committed
Fix upload-artifact version, and add pip install to integration tests
1 parent 04beafc commit a5bdcfd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci-pr.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI - Pull Request
1+
name: CI - Unit and Integration Tests
22

33
on:
44
pull_request:
@@ -49,6 +49,15 @@ jobs:
4949
uses: actions/setup-python@v4
5050
with:
5151
python-version: ${{ matrix.python-version }}
52+
- name: Cache pip dependencies
53+
uses: actions/cache@v3
54+
with:
55+
path: ~/.cache/pip
56+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }}
57+
restore-keys: |
58+
${{ runner.os }}-pip-${{ matrix.python-version }}-
59+
- name: Install dependencies
60+
run: pip install -r requirements.txt
5261
- name: Run integration tests
5362
run: make ci-test
5463

@@ -83,7 +92,7 @@ jobs:
8392
mv py-algo-sdk.docset.tar.gz /tmp
8493
8594
- name: Upload docset artifact
86-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@v4
8796
with:
8897
name: py-algo-sdk-docset
8998
path: /tmp/py-algo-sdk.docset.tar.gz

0 commit comments

Comments
 (0)