From c304a7a334a231939fb49e0f25b70b20f12dcaa1 Mon Sep 17 00:00:00 2001 From: Lucian Smith Date: Wed, 9 Oct 2024 16:59:09 -0700 Subject: [PATCH] Update workflow to newer actions. Old versions were being deprecated. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3441b97a..3280b765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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 @@ -67,7 +67,7 @@ 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 @@ -75,7 +75,7 @@ jobs: 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