-
Notifications
You must be signed in to change notification settings - Fork 425
55 lines (42 loc) · 1.03 KB
/
ci_ubuntu.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
name: Continuous Integration with Ubuntu
on: [push, pull_request]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Install Dependencies
run: |
source ci/ci_ubuntu.sh
style_dependencies
- name: Style
run: |
source ci/ci_ubuntu.sh
style
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Install dependencies
run: |
source ci/ci_ubuntu.sh
dependencies
- name: Tests
run: |
source ci/ci_ubuntu.sh
tests
- name: Upload Coverage
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
source ci/ci_ubuntu.sh
upload_coverage