Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests #598

Merged
merged 2 commits into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,14 @@ jobs:
tools/ci/run_ci.sh --run-tests --sanitizer ${{ matrix.sanitizer }}
env:
CC: ${{ matrix.compiler }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
rettichschnidi marked this conversation as resolved.
Show resolved Hide resolved
pip install -r tests/integration/requirements.txt

- name: Execute integration tests
run: |
python -c "import sys; print(sys.version)"
pytest -v tests/integration

17 changes: 17 additions & 0 deletions .github/workflows/compliance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,20 @@ jobs:
- name: Check commits with clang-format
run: |
tools/ci/run_ci.sh --branch-target origin/${{ github.base_ref }} --run-clang-format

check-pylint:
name: Run pylint
runs-on: ubuntu-20.04

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install pylint
run: |
pip3 install pylint -r tests/integration/requirements.txt

- name: Check python code with pylint
run: |
python -c "import sys; print(sys.version)"
pylint tests
28 changes: 28 additions & 0 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint python code

on:
push:
branches: '**'
pull_request:
branches: '**'

jobs:
pylint:
runs-on: ubuntu-20.04

steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
rettichschnidi marked this conversation as resolved.
Show resolved Hide resolved

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint -r tests/integration/requirements.txt

- name: Execute pylint
run: |
python -c "import sys; print(sys.version)"
pylint tests
rettichschnidi marked this conversation as resolved.
Show resolved Hide resolved
Loading