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
4 changes: 3 additions & 1 deletion .github/workflows/branch-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
# develop branch docs are built at the end of the core test workflow, regardless of repository owner or commit message flags
name: ubuntu-latest py3.10
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
make html

- name: Push to GitHub Pages
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Token is created automatically by Github Actions, no other config needed
Expand Down
30 changes: 22 additions & 8 deletions .github/workflows/core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- '*'

env:
CACHE_NUMBER: 2 # increase to reset cache manually
CACHE_NUMBER: 0 # increase to reset cache manually

jobs:
foundation:
Expand All @@ -29,9 +29,11 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: asim-test
python-version: ${{ matrix.python-version }}
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ matrix.python-version }}

- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV
Expand Down Expand Up @@ -112,9 +114,11 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: asim-test
python-version: ${{ matrix.python-version }}
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ matrix.python-version }}

- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV
Expand Down Expand Up @@ -193,7 +197,9 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ env.python-version }}

Expand Down Expand Up @@ -279,7 +285,9 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ env.python-version }}

Expand Down Expand Up @@ -340,7 +348,9 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ env.python-version }}

Expand Down Expand Up @@ -390,7 +400,9 @@ jobs:
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniforge-version: latest
conda-solver: classic
activate-environment: asim-test
python-version: ${{ env.python-version }}

Expand Down Expand Up @@ -432,6 +444,8 @@ jobs:
if: github.ref_name == 'main'
name: develop-docbuild
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -472,7 +486,7 @@ jobs:
make clean
make html
- name: Push to GitHub Pages
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Token is created automatically by Github Actions, no other config needed
Expand Down
Loading