Could a loving god create such agony #13
Workflow file for this run
This file contains 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: 'Build and test icepack' | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: docker.io/firedrakeproject/firedrake-vanilla@sha256:0809b1f513b2d27013c4a0a511b76f4c78190059bfdffc9626650c13bb447a71 | |
options: --user root | |
steps: | |
- name: Check out git repository | |
uses: actions/checkout@v3 | |
- name: Activate Firedrake virtual environment | |
run: | | |
. /home/firedrake/firedrake/bin/activate | |
echo PATH=$PATH >> $GITHUB_ENV | |
# TODO: Remove this once the docker image catchs up | |
- name: Update pyadjoint | |
run: | | |
# I have no idea why this↴ step is necessary | |
git config --global --add safe.directory '*' | |
cd /home/firedrake/firedrake/src/pyadjoint | |
git fetch | |
git checkout d532d41068796ed763c38dda8e28f284b01e1cd3 | |
- name: Install package | |
run: | | |
pip install git+https://github.com/icepack/Trilinos.git@190384db6cb1d148cea36f2d8d69033a90b2d991 | |
pip install git+https://github.com/icepack/pyrol.git@3bc1802e436eda8949a286abf54528c7a882f706 | |
pip install --editable ."[opt]" | |
- name: Run tests | |
run: pytest |