Skip to content

Mnt/update for pytest #5

Mnt/update for pytest

Mnt/update for pytest #5

Workflow file for this run

name: Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
run_tests:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test
run: |
set -vxeuo pipefail
pip install pytest pytest-cov
python setup.py install
py.test --cov=historydict --cov-report term-missing