Skip to content

Test Sources

Test Sources #1647

Workflow file for this run

name: Test Sources
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches-ignore:
- 'released'
schedule:
- cron: '0 22 * * *'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-sources:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python: ['3.10']
include:
- os: ubuntu-22.04
DEPENDENCIES_INSTALLATION: "sudo apt -y install cppcheck"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Test Sources
run: |
${{ matrix.DEPENDENCIES_INSTALLATION }}
pip install -r tests/sources/requirements.txt
python3 -m unittest discover -s tests/sources/