Skip to content

Migrated from setup.py to Pyproject #14

Migrated from setup.py to Pyproject

Migrated from setup.py to Pyproject #14

Workflow file for this run

name: Run tests
on:
push:
pull_request:
branches-ignore: [ master ]
jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install run requirements
run: python3 -m pip install -r requirements.txt
- name: Install test requirements
run: python3 -m pip install codecov pytest-cov
- name: Run tests
run: pytest
- name: Run coverage
run: pytest --cov=./meterbus
- name: Run codecov
run: codecov