Skip to content

Merge pull request #96 from sul-dlss-labs/fix-symlinks #237

Merge pull request #96 from sul-dlss-labs/fix-symlinks

Merge pull request #96 from sul-dlss-labs/fix-symlinks #237

Workflow file for this run

name: Test
on:
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Lint
uses: chartboost/ruff-action@v1
# Default action is 'check'
# it may move, see https://github.com/astral-sh/ruff/issues/8400
- name: Format
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run tests
run: pytest
env:
AIRFLOW_VAR_DIMENSIONS_API_USER: ${{ secrets.AIRFLOW_VAR_DIMENSIONS_API_USER }}
AIRFLOW_VAR_DIMENSIONS_API_PASS: ${{ secrets.AIRFLOW_VAR_DIMENSIONS_API_PASS }}