Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuntaroAoki committed Jul 29, 2024
1 parent 469d119 commit 19baa5a
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -76,3 +76,34 @@ jobs:
with:
pytest-coverage-path: pytest-coverage.txt
junitxml-path: pytest.yml

test_py36_py37:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov pytest-github-actions-annotate-failures
pip install .[dev]
- name: Test with pytest
run: |
(
set -o pipefail
pytest --junitxml=pytest.yml \
--cov-report=term-missing:skip-covered --cov=bdpy tests | tee pytest-coverage.txt
)

0 comments on commit 19baa5a

Please sign in to comment.