Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/long_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
timeout-minutes: 360
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: develop
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -27,17 +27,17 @@ jobs:
outputs:
cache_hash: ${{ steps.compute-cache-hash.outputs.cache_hash }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
restore-keys: |
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
ls -lhR .github_cache/ASPIRE-data
[ -f config.yaml ]
- name: Save Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
path: .github_cache/ASPIRE-data
Expand All @@ -100,9 +100,9 @@ jobs:
pyenv: pip,docs

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.pyenv }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -111,7 +111,7 @@ jobs:
# Optional packages
pip install pyfftw # `test_fft` runs for pyfftw when installed
- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
restore-keys: |
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
exit 1
fi
- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -175,9 +175,9 @@ jobs:
backend: win64

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Conda ${{ matrix.os }} Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2.3.0
uses: conda-incubator/setup-miniconda@v4
with:
miniconda-version: "latest"
auto-update-conda: true
Expand All @@ -193,7 +193,7 @@ jobs:
pip freeze
python -c "import numpy; numpy.show_config()"
- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
restore-keys: |
Expand All @@ -216,9 +216,9 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
Expand All @@ -238,7 +238,7 @@ jobs:
# Run on every code push, but only on review ready PRs
if: ${{ github.event_name == 'push' || github.event.pull_request.draft == false }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install dependencies
run: |
pip install -e ".[dev,gpu-13x]"
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
run: |
ASPIREDIR=${{ env.WORK_DIR }} PYTHONWARNINGS=error python -m pytest --durations=50 --cov=aspire --cov-report=xml
- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Cleanup
Expand All @@ -282,17 +282,17 @@ jobs:
needs: [check, data-cache]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
restore-keys: |
Expand All @@ -311,7 +311,7 @@ jobs:
make html
working-directory: ./docs
- name: Archive Sphinx docs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sphinx-docs
path: docs/build
Expand All @@ -333,8 +333,8 @@ jobs:
# Run on every code push, but only on review ready PRs
if: ${{ github.event_name == 'push' || github.event.pull_request.draft == false }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Complete Install and Log Environment
Expand All @@ -343,7 +343,7 @@ jobs:
pip install -e ".[dev]" # install aspire
pip freeze
- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: cached-data-${{ hashFiles('**/registry.py', '**/*workflow.yml') }}
restore-keys: |
Expand Down
Loading