Skip to content

Commit

Permalink
Update workflow to newer actions.
Browse files Browse the repository at this point in the history
Old versions were being deprecated.
  • Loading branch information
luciansmith committed Oct 9, 2024
1 parent 2ce1fb5 commit c304a7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fetch-depth: 1

- name: Install Java # for pyNeuroML
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '15'
Expand All @@ -53,7 +53,7 @@ jobs:
sudo apt-get install -y --no-install-recommends wget make gcc libx11-dev libc6-dev xppaut
- name: Install Singularity # to validate that the Docker image can be converted into a Singularity image
uses: eWaterCycle/setup-singularity@v5
uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.7.1

Expand All @@ -67,15 +67,15 @@ jobs:
run: poetry run python -m flake8

- name: Run the tests
uses: GabrielBB/xvfb-action@v1
uses: coactions/setup-xvfb@v1
env:
MPLBACKEND: PDF
# BIOSIMULATORS_API_ENDPOINT: https://api.biosimulators.dev/ # uncomment to execute tests with the dev deployment
with:
run: poetry run python -m pytest tests/ --cov=./biosimulators_utils --cov-report=xml

- name: Upload the coverage report to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Expand Down

0 comments on commit c304a7a

Please sign in to comment.