Bump actions/upload-artifact from 4 to 7 #73
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Test instructions from installing.rst" | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| - "!gh-pages" | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 3 * * MON" | |
| workflow_dispatch: | |
| jobs: | |
| test_dolfinx_docker: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/fenics/dolfinx/dolfinx:stable | |
| steps: | |
| - name: Install viskex | |
| run: python3 -m pip install 'viskex[backend-dolfinx,tutorials]' | |
| test_dolfinx_apt: | |
| runs-on: ubuntu-latest | |
| container: debian:testing | |
| steps: | |
| - name: Install dolfinx | |
| run: | | |
| apt update -y -q | |
| apt install -y -qq fenicsx python3-pip | |
| - name: Install viskex | |
| run: python3 -m pip install --break-system-packages 'viskex[backend-dolfinx,tutorials]' | |
| test_dolfinx_conda: | |
| runs-on: ubuntu-latest | |
| # This is necessary to ensure conda environment is activated in every step. | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| - name: Install dolfinx | |
| run: conda install -c conda-forge fenics-dolfinx mpich pyvista | |
| - name: Install viskex | |
| run: python3 -m pip install 'viskex[backend-dolfinx,tutorials]' | |
| test_firedrake_docker: | |
| runs-on: ubuntu-latest | |
| container: firedrakeproject/firedrake-vanilla-default:latest | |
| steps: | |
| - name: Install viskex | |
| run: python3 -m pip install 'viskex[backend-firedrake,tutorials]' | |
| warn: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'viskex/viskex.github.io' && github.ref == 'refs/heads/main' && github.event_name == 'schedule' | |
| steps: | |
| - name: Warn if scheduled workflow is about to be disabled | |
| uses: fem-on-colab/warn-workflow-about-to-be-disabled-action@main | |
| with: | |
| workflow-filename: installing.yml | |
| days-elapsed: 50 |