Skip to content

Merge pull request #59 from jan-janssen/dependabot/pip/qrcode-8.0 #207

Merge pull request #59 from jan-janssen/dependabot/pip/qrcode-8.0

Merge pull request #59 from jan-janssen/dependabot/pip/qrcode-8.0 #207

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Conda config
shell: bash -l {0}
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment.yml
- name: Test
shell: bash -l {0}
run: |
pip install --no-deps .
coverage run -a -m unittest discover tests