Skip to content

Merge pull request #6 from CKrawczyk/add-copyright-to-files #15

Merge pull request #6 from CKrawczyk/add-copyright-to-files

Merge pull request #6 from CKrawczyk/add-copyright-to-files #15

Workflow file for this run

name: Python coverage
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}
- name: Install local package
run: |
pip install -U pip
pip install -U .[dev]
- name: Run tests with coverage
run: coverage run
- name: Coverage report
run: coverage report