Skip to content

Merge pull request #22 from mj-will/more-condor-fixes #39

Merge pull request #22 from mj-will/more-condor-fixes

Merge pull request #22 from mj-will/more-condor-fixes #39

Workflow file for this run

name: Tests
on:
push:
branches: [ main, ]
pull_request:
branches: [ main, ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [Ubuntu]
python-version: ["3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e .[dev]
- name: Test with pytest
run: |
python -m pytest