Skip to content

Commit

Permalink
Disable fail-fast and remove the Report step
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg committed Jan 27, 2020
1 parent 0c87d62 commit 4fe96c9
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/native-cron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
java: [ 8, 11 ]
fail-fast: false
name: build-and-testing
steps:

Expand Down Expand Up @@ -46,28 +47,3 @@ jobs:

- name: Run integration tests in native
run: mvn -B --settings azure-mvn-settings.xml verify -f integration-tests/pom.xml -DskipTests -Dno-format -Ddocker -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:19.3.1-java${{ matrix.java }} -Dtest-postgresql -Dtest-elasticsearch -Dtest-mysql -Dtest-dynamodb -Dtest-vault -Dtest-neo4j

- name: Report
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }}
STATUS: ${{ job.status }}
JAVA_VERSION: ${{ matrix.java }}
run: |
echo "The report step got status: ${STATUS}"
sudo apt-get update -o Dir::Etc::sourcelist="sources.list" \
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
sudo apt-get install -y gnupg2 gnupg-agent
echo Installing SDKMAN
curl -s "https://get.sdkman.io" | bash
source ~/.sdkman/bin/sdkman-init.sh && \
sdk install kotlin 1.3.61 && \
# we need to install Java 8 because kscript doesn't yet work with Java 11: https://github.com/holgerbrandl/kscript/issues/239
if [[ ${JAVA_VERSION} = 11 ]]; then
echo "y" | sdk install java 8.0.232-open
fi
sdk install kscript 2.9.0
[[ ${JAVA_VERSION} = 8 ]] && ISSUE_NUMBER="6717" || ISSUE_NUMBER="6723"
kscript .github/NativeBuildReport.kts ${GITHUB_TOKEN} ${STATUS} ${ISSUE_NUMBER}

0 comments on commit 4fe96c9

Please sign in to comment.