Skip to content

Merge pull request #48 from jan-janssen/dependabot/pip/pyotp-2.9.0 #174

Merge pull request #48 from jan-janssen/dependabot/pip/pyotp-2.9.0

Merge pull request #48 from jan-janssen/dependabot/pip/pyotp-2.9.0 #174

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.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channel-priority: strict
environment-file: .ci_support/environment.yml
- name: Setup
shell: bash -l {0}
run: |
pip install --no-deps .
- name: Test
shell: bash -l {0}
run: |
coverage run -a -m unittest discover tests