Skip to content

Commit

Permalink
Merge pull request #2 from hz-b/dev/feature/ci-badge
Browse files Browse the repository at this point in the history
adding status badge
  • Loading branch information
PierreSchnizer authored Jul 11, 2024
2 parents 74930ef + 4ef5de7 commit 0f93f33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12" ]
numpy-version: [ "numpy<2.0", "numpy>=2.0" ]


steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.numpy-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
numpy-version: ${{ matrix.numpy-version }}
cache: 'pip'
cache-dependency-path: |
**/pyproject.toml
Expand All @@ -30,7 +33,7 @@ jobs:
python -m pip install --upgrade pip wheel
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
pip install '${{ matrix.numpy-version }}' .
- name: Install package
run: |
python -m pip install flake8 pytest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![CI](https://github.com/hz-b/bact-device-models/actions/workflows/python-package.yml/badge.svg)](https://github.com/hz-b/bact-device-models/actions/workflows/python-package.yml)

# bact-device-models
Device models used in bact

Expand Down

0 comments on commit 0f93f33

Please sign in to comment.