Skip to content

Commit

Permalink
Update workflows for testing pydicom 2.4, 3.X
Browse files Browse the repository at this point in the history
* update some of the actions script versions
  • Loading branch information
darcymason committed Jan 2, 2025
1 parent 690eebc commit 8cb2e37
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

python-version: ["3.10", "3.11", "3.12", "3.13"]
pydicom-version: ["latest"]
include:
- python-version: "3.10"
pydicom-version: "2.4"
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- name: Cache Python dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ hashFiles('setup.py') }}
Expand All @@ -37,6 +40,11 @@ jobs:
pip install coverage
pip install coveralls
pip install codecov
- name: Force pydicom version if needed
if: startsWith(matrix.pydicom-version, '2')
run: |
pip install -U pydicom==${{ matrix.pydicom-version }}
- name: Run tests via coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4

0 comments on commit 8cb2e37

Please sign in to comment.