Skip to content

Commit 75182fe

Browse files
committed
test git install
1 parent 36660a2 commit 75182fe

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/core.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,22 +106,24 @@ jobs:
106106
# Make sure the current directory is empty
107107
run: find . -delete
108108

109-
- uses: actions/checkout@v4
110-
with:
111-
path: firedrake-repo
112-
ref: ${{ inputs.source_ref }}
113-
114109
- name: Install system dependencies
115110
run: |
116111
apt-get update
117-
apt-get -y install python3 python3-venv
118-
apt-get -y install \
119-
$(python3 ./firedrake-repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-system-packages)
112+
apt-get -y install git python3 python3-venv
120113
: # Dependencies needed to run the test suite
121114
apt-get -y install parallel
122115
: # Dependencies needed to build the documentation
123116
apt-get -y install inkscape texlive-full
124117
118+
- uses: actions/checkout@v4
119+
with:
120+
path: firedrake-repo
121+
ref: ${{ inputs.source_ref }}
122+
123+
- name: Install system dependencies from firedrake-configure
124+
apt-get -y install \
125+
$(python3 ./firedrake-repo/scripts/firedrake-configure --arch ${{ matrix.arch }} --show-system-packages)
126+
125127
# Raise an error if any 'TODO RELEASE' comments remain
126128
- name: Check no 'TODO RELEASE' comments (release only)
127129
if: inputs.target_branch == 'release'
@@ -397,6 +399,7 @@ jobs:
397399
# so uncommitted changes at this point reflect changes in the automatically
398400
# generated files that ought to be committed.
399401
- name: Check no untracked files
402+
if: always()
400403
run: |
401404
cd firedrake-repo
402405
if [ -z "$( git status --porcelain )" ]; then

0 commit comments

Comments
 (0)