Skip to content

Commit

Permalink
Bump actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Oct 1, 2024
1 parent 46da6e5 commit db6850e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install mdbook
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@ on: [push]

jobs:
build:

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Python environment
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yml
environment-name: open-gira
cache-env: true
- name: Install Python environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: open-gira
cache-environment: true

- name: Test with pytest
# use a 'login shell', thereforce sourcing .bashrc, necessary for umamba
shell: bash -l {0}
# uses pytest-xdist to parallelise (2 CPUs on standard GH Actions runner)
run: |
sudo apt update && sudo apt install osmium-tool
osmium --version
- name: Test with pytest
# use a 'login shell', thereforce sourcing .bashrc, necessary for umamba
shell: bash -l {0}
# uses pytest-xdist to parallelise (2 CPUs on standard GH Actions runner)
run: |
sudo apt update && sudo apt install osmium-tool
osmium --version
python -m pytest -n auto
python -m pytest -n auto

0 comments on commit db6850e

Please sign in to comment.