File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,11 @@ jobs:
137
137
pushd ${{ github.repository }}
138
138
git init
139
139
git remote add origin ${{ github.server_url }}/${{ github.repository }}
140
+ {% if github.event_name == "pull_request" %}
141
+ git fetch origin ${{ github.head_ref }}
142
+ {% else %}
140
143
git fetch origin ${{ github.sha }}
144
+ {% endif %}
141
145
git reset --hard FETCH_HEAD
142
146
popd
143
147
cmake -G Ninja -S ${{ github.repository }} -B build \
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ find_package( ecbuild 3.4 REQUIRED HINTS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CUR
16
16
project ( ectrans LANGUAGES C CXX Fortran )
17
17
include ( ectrans_macros )
18
18
19
+ message ("Sam's test" )
20
+
19
21
# CMake 3.29 adds CMAKE_TEST_LAUNCHER defined either as CMake variable or environment.
20
22
# This launcher is a semi-colon-separted list of arguments that is used to launch serial tasks,
21
23
# and can be defined during the CMake configuration.
You can’t perform that action at this time.
0 commit comments