File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
actions/prepare-environment Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 52
52
git config --global user.name 'graalvm bot'
53
53
git config --global user.email 'graalvmbot@users.noreply.github.com'
54
54
echo "org.ajoberstar.grgit.auth.command.allow=true" >> gradle.properties
55
+ mkdir -p ~/test with whitespaces/.m2
Original file line number Diff line number Diff line change 68
68
with :
69
69
name : maven-functional-tests-results-${{ matrix.os }}
70
70
path : native-maven-plugin/build/reports/tests/
71
+
72
+ test-native-maven-plugin-with-whitespaces :
73
+ name : " 🧪 Maven: ${{ matrix.test }} on ${{ matrix.os }}"
74
+ runs-on : ${{ matrix.os }}
75
+ timeout-minutes : 60
76
+ needs : populate-matrix
77
+ strategy :
78
+ fail-fast : false
79
+ matrix : ${{fromJson(needs.populate-matrix.outputs.matrix)}}
80
+ steps :
81
+ - name : " ☁️ Checkout repository"
82
+ uses : actions/checkout@v4
83
+ - name : " 🔧 Prepare environment"
84
+ uses : ./.github/actions/prepare-environment
85
+ with :
86
+ java-version : ${{ matrix.java-version }}
87
+ github-token : ${{ secrets.GITHUB_TOKEN }}
88
+ - name : " Set .m2 location to a folder with whitespaces"
89
+ run : echo "MAVEN_OPTS=-Dmaven.repo.local=~/test with whitespaces/.m2" >> $GITHUB_ENV
90
+ - name : " ❓ Check and test the plugin"
91
+ run : ./gradlew :native-maven-plugin:functionalTest --no-daemon --fail-fast --tests ${{ matrix.test }}
92
+ - name : " 📜 Upload unit test results"
93
+ if : always()
94
+ uses : actions/upload-artifact@v3
95
+ with :
96
+ name : maven-functional-tests-results-${{ matrix.os }}
97
+ path : native-maven-plugin/build/reports/tests/
You can’t perform that action at this time.
0 commit comments