-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (44 loc) · 1.49 KB
/
cbcflow-tests.yml
File metadata and controls
53 lines (44 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CBCFlow Integration Tests
# These tests check the integration between asimov and cbcflow.
# They are allowed to fail (continue-on-error: true) because:
# - cbcflow is an optional external dependency
# - some failures reveal known issues to be fixed incrementally
#
# Run on the same branches as the main test suite so failures are visible.
on:
push:
branches: [ master, v*-release, v*-preview ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
pull_request:
branches: [ master, v*-release, v*-preview ]
jobs:
cbcflow-integration:
name: CBCFlow integration (Python 3.11)
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install asimov
run: |
python -m pip install --upgrade pip
pip install .
pip install ".[bilby]"
- name: Install cbcflow
run: pip install cbcflow
- name: Set up git identity
run: |
git config --global user.email "test@asimov.test"
git config --global user.name "Asimov Test"
git config --global init.defaultBranch main
- name: Run CBCFlow integration tests
run: python -m unittest tests.test_cbcflow_integration -v