Skip to content

Merge pull request #9 from skylab-tech/SCP-6-update-docs #52

Merge pull request #9 from skylab-tech/SCP-6-update-docs

Merge pull request #9 from skylab-tech/SCP-6-update-docs #52

Workflow file for this run

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