-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1325d1f
commit d2fd19d
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: 'Run tests' | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: docker.io/firedrakeproject/firedrake-vanilla:2023-09 | ||
options: --user root | ||
steps: | ||
- name: Activate Firedrake virtual environment | ||
run: | | ||
. /home/firedrake/firedrake/bin/activate | ||
echo PATH=$PATH >> $GITHUB_ENV | ||
- name: Install dependencies | ||
run: | | ||
apt update | ||
apt install -yq patchelf | ||
pip install netCDF4 | ||
pip install git+https://github.com/icepack/Trilinos.git | ||
pip install git+https://github.com/icepack/pyrol.git | ||
pip install git+https://github.com/icepack/icepack.git | ||
- name: Check out git repository | ||
uses: actions/checkout@v3 | ||
- name: run tests | ||
env: | ||
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }} | ||
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }} | ||
run: python initialize.py |