-
Notifications
You must be signed in to change notification settings - Fork 34
58 lines (48 loc) · 1.52 KB
/
change-point-tests.yml
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
54
55
56
57
58
name: Change-point testing
on:
push:
branches:
- issue-1294-functional-testing-module
jobs:
run-functional-testing:
name: Change-point testing
runs-on: ubuntu-latest
steps:
- name: Check out PINTS repository
uses: actions/checkout@v2
with:
path: 'pints'
- name: Check out functional-testing-2 repository
uses: actions/checkout@v2
with:
repository: 'pints-team/functional-testing-2'
ref: 'new-infra'
path: 'functional-testing-2'
token: ${{ secrets.FUNCTIONAL_TESTING_TOKEN }}
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: install pints
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install .
working-directory: 'pints'
- name: install functional-testing-2
run: |
python -m pip install .
working-directory: 'functional-testing-2'
- name: run change-point testing
run: |
python run_all_the_things.py
working-directory: 'functional-testing-2'
- name: commit changes
run: |
git config user.name "github-workflow"
git config user.email "github-workflow"
git add --all
git commit -m "Run of change-point testing" || echo "No changes to commit"
git push
working-directory: 'functional-testing-2'