-
Notifications
You must be signed in to change notification settings - Fork 24
38 lines (35 loc) · 898 Bytes
/
CI.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
name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- development
- master
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest-cov
pip install requests
pip install coveralls
pip install .
pip install git+https://[email protected]/fsschneider/DeepOBS.git@develop#egg=deepobs
pip install git+https://[email protected]/f-dangel/backobs.git@development#egg=backobs
- name: Run pytest
run: |
make test
- name: Test coveralls
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}