MAINT: move KnownReparameterisation and ReparameterisationDict #1444
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compatibility tests | |
on: | |
push: | |
branches: [ main, release* ] | |
pull_request: | |
branches: [ main, release* ] | |
schedule: | |
# Run tests at 7:00 UTC everyday | |
- cron: '0 7 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
bilby-test: | |
name: Bilby compatibility test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' # Based on bilby | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
# Install CPU-only version of PyTorch | |
pip install torch --index-url https://download.pytorch.org/whl/cpu | |
pip install -e .[test] | |
pip install bilby | |
- name: Run bilby compatibility tests (without plugin) | |
run: | | |
python -m pytest --bilby-compatibility -m "bilby_compatibility" | |
- name: Install bilby plugin | |
run: | | |
pip install nessai-bilby | |
- name: Run bilby compatibility tests (with plugin) | |
run: | | |
python -m pytest --bilby-compatibility -m "bilby_compatibility" |