-Update xtce_generator #182
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |