Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
patterns:
- "*"
11 changes: 8 additions & 3 deletions .github/workflows/antivirus.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
on:
pull_request:
types: [assigned, opened, synchronize, reopened, closed]
types: [opened, synchronize, reopened]

permissions:
contents: read

jobs:
gitavscan:
runs-on: ubuntu-latest
name: AV scan
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Git AV Scan
uses: djdefi/gitavscan@main
uses: djdefi/gitavscan@66a83ba98eca422f37322bc9851fa56195b252f3 # v23
with:
full: '--full'
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

# Install dependencies
- name: Setup Conda Environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
with:
environment-file: docs/environment_docs.yml
activate-environment: pysp2-docs
Expand All @@ -39,7 +39,7 @@ jobs:
make html
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'ARM-DOE/PySP2'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
name: Install Python
with:
python-version: 3.14

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade "pip>=26.2.2" "certifi>=2026.10.19"
python -m pip install setuptools setuptools-scm wheel twine check-manifest
- name: Build tarball and wheels
run: |
Expand All @@ -36,7 +36,8 @@ jobs:
else
echo "✅ Looks good"
fi
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
with:
name: releases
path: dist
Expand All @@ -45,11 +46,11 @@ jobs:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
name: Install Python
with:
python-version: "3.x"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: releases
path: dist
Expand All @@ -62,12 +63,12 @@ jobs:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: releases
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.13.0
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.13", "3.14", "3.15"]
os: [macOS, ubuntu, Windows]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Conda Environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
with:
python-version: ${{ matrix.python-version }}
environment-file: ./continuous_integration/environment_actions.yml
Expand All @@ -46,4 +46,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run tests
run: |
pytest
pytest
4 changes: 3 additions & 1 deletion continuous_integration/environment_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ dependencies:
- python>=3.7
- pytest
- flake8

- certifi>=2026.10.19
- ca-certificates>=2026.10.19
- pip>=26.2.2
3 changes: 3 additions & 0 deletions docs/environment_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dependencies:
- sphinx
- pydata-sphinx-theme
- arm-test-data
- certifi>=2026.10.19
- ca-certificates>=2026.10.19
- pip>=26.2.2
- pip:
- sphinx_gallery
- sphinx-copybutton
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ sphinx_gallery
xarray
act-atmos
matplotlib
certifi>=2026.10.19
-e .
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ xarray
act-atmos
xlrd
matplotlib
certifi>=2026.10.19
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pytest
certifi>=2026.10.19
Loading