Skip to content

Add more unit tests #140

Add more unit tests

Add more unit tests #140

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
- name: flake8
run: |
make flake8
continue-on-error: true
- name: mypy
run: |
make mypy
continue-on-error: true
- name: pylint
run: |
make pylint
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install podman
- name: e2e
run: |
make e2e
codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Run tests and collect coverage
run: make pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: 'tests/'