Skip to content

Commit 34bfae2

Browse files
committed
CI: skip jep tests when running the javaless job
And include java version in job names, to disambiguate them.
1 parent ace4df5 commit 34bfae2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
build-cross-platform:
15-
name: test ${{matrix.os}} - ${{matrix.python-version}}
15+
name: test ${{matrix.os}} - ${{matrix.python-version}} - ${{matrix.java-version}}
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
@@ -32,7 +32,8 @@ jobs:
3232
- os: ubuntu-latest
3333
python-version: '3.12'
3434
java-version: ''
35-
35+
env:
36+
SKIP_JEP: true
3637

3738
steps:
3839
- uses: actions/checkout@v2

bin/test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ then
7373
else
7474
argString=""
7575
fi
76-
if [ "$(uname -s)" = "Darwin" ]
76+
if [ "$SKIP_JEP" = true ]
77+
then
78+
echo "Skipping jep tests due to SKIP_JEP flag"
79+
jepCode=0
80+
elif [ "$(uname -s)" = "Darwin" ]
7781
then
7882
echo "Skipping jep tests on macOS due to flakiness"
7983
jepCode=0

0 commit comments

Comments
 (0)