Skip to content

Commit

Permalink
Adjust github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Oct 2, 2024
1 parent c453b68 commit 766af1f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assess-file-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

name: Test changed-files
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dev-gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v3
with:
update-conda: true
python-version: 3.9
conda-channels: conda-forge
- uses: actions/checkout@v3
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags

- name: Install pytest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-link-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/read-nwbfile-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
os: ["ubuntu-latest", "windows-latest"] # TODO: update mac and streaming methods
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v3
with:
update-conda: true
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
channels: conda-forge
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags

- name: Install pytest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/streaming-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
os: ["ubuntu-latest", "windows-latest"] # TODO: update mac and streaming methods
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v3
with:
update-conda: true
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
channels: conda-forge
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags

- name: Install pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags

- name: Install pytest
Expand Down

0 comments on commit 766af1f

Please sign in to comment.