Skip to content

Update pipeline.py #392

Update pipeline.py

Update pipeline.py #392

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
lite:
name: CI / lite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install lint and lite dependencies
run: |
python -m pip install -U pip
pip install -e .[tests] ruff
- name: Lint and smoke tests
env:
CSCAL_TEST_MODE: lite
run: |
ruff check src tests
pytest -q -m "lite"
unit:
name: CI / unit
runs-on: ubuntu-latest
needs: lite
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install test dependencies
run: |
python -m pip install -U pip
pip install -e .[tests]
- name: Run full test suite
env:
CSCAL_TEST_MODE: unit
run: pytest -q