Skip to content

---

--- #275

Workflow file for this run

name: Test suite
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
# Quotes are neccesary otherwise it tries to get Python 3.1
python-version: [3.8, 3.9, '3.10', 3.11]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
flake8 . --show-source --statistics
- name: Test suite
run: |
coverage run --rcfile=.coveragerc -m verto.tests.start_tests
coverage xml -i
coverage report -m --skip-covered
- name: Code Coverage
uses: codecov/codecov-action@v4.4.1