Skip to content

fix test fixture paths #4

fix test fixture paths

fix test fixture paths #4

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [master]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
OPENREC_TEST_DATA: ${{ github.workspace }}/example-fixture/data/test
steps:
- name: Check out algorithms
uses: actions/checkout@v7
- name: Check out deterministic test fixtures
uses: actions/checkout@v7
with:
repository: open-rec/example
path: example-fixture
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: pip
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -e ".[cluster]" pytest
- name: Run tests
run: python -m pytest -q test