-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (37 loc) · 1 KB
/
ci.yaml
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: Run Python Tests
on:
push:
branches:
- '*'
pull_request:
branches:
- develop
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r src/requirements.txt
sudo apt-get install libdwarf-dev
sudo apt-get install libelf-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install g++
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Run tests with pytest
run: pytest --cov=src --cov=xtce_generator --cov=tlm_cmd_merger
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github