Skip to content

Merge pull request #7 from rottenstea/rottenstea-patch-1 #6

Merge pull request #7 from rottenstea/rottenstea-patch-1

Merge pull request #7 from rottenstea/rottenstea-patch-1 #6

Workflow file for this run

name: Python package
# on:
# delete
on:
push:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
python-version: ["3.10", "3.11"]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest coverage
pip install .
- name: Test with pytest, via coverage
run: coverage run -m pytest
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3