Skip to content

Commit

Permalink
Updating GH actions to run quarkus cli on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berecz committed Sep 17, 2024
1 parent 64bf671 commit c2d1eb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ jobs:
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Install Quarkus CLI
run: |
echo "java -jar ~/.m2/repository/io/quarkus/quarkus-cli/999-SNAPSHOT/quarkus-cli-999-SNAPSHOT-runner.jar %*" > quarkus-dev-cli.bat
# Launches in powershell
.\quarkus-dev-cli.bat version
- name: Build in JVM mode
shell: bash
run: |
Expand All @@ -270,7 +275,7 @@ jobs:
MODULES_MAVEN_PARAM="-pl ${MODULES_ARG}"
fi
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify -Dall-modules $MODULES_MAVEN_PARAM -am -DexcludedGroups=long-running
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify -Dall-modules $MODULES_MAVEN_PARAM -am -DexcludedGroups=long-running -Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli"
- name: Detect flaky tests
id: flaky-test-detector
if: ${{ hashFiles('**/flaky-run-report.json') != '' }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,15 @@ jobs:
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Install Quarkus CLI
run: |
echo "java -jar $home/.m2/repository/io/quarkus/quarkus-cli/999-SNAPSHOT/quarkus-cli-999-SNAPSHOT-runner.jar %*" > quarkus-dev-cli.bat
# Launches in powershell
.\quarkus-dev-cli.bat version
- name: Build in JVM mode
shell: bash
run: |
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify -D"include.quarkus-cli-tests" -D"ts.quarkus.cli.cmd=C:\cygwin\home\hudson\work\quarkus-dev-cli.bat" -D"all-modules"
- name: Zip Artifacts
shell: bash
if: failure()
Expand Down

0 comments on commit c2d1eb0

Please sign in to comment.