-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 935 Bytes
/
Copy pathmain.yml
File metadata and controls
40 lines (32 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 'Studio PY SDK'
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
env:
PY_SDK_STAGING_KEY: ${{ secrets.PY_SDK_STAGING_KEY }}
SKYLAB_API_URL: ${{ secrets.SKYLAB_API_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Update system
run: sudo apt-get update
- name: Install libvips
run: sudo apt install libvips-dev --no-install-recommends
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Run pytest
run: pytest -s test/test_api.py