Skip to content

Publish to DH and GHCR together & new maintainer (#48) #229

Publish to DH and GHCR together & new maintainer (#48)

Publish to DH and GHCR together & new maintainer (#48) #229

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test with pytest
run: |
pytest
- name: Publish CodeCov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.codecovToken }}