Fix official pipeline #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke Test - Java 17 on Functions V4 | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main, dev ] | |
paths: | |
- 'src/**' | |
- 'test/SmokeTests/OOProcSmokeTests/durableJava/**' | |
pull_request: | |
branches: [ main, dev ] | |
paths: | |
- 'src/**' | |
- 'test/SmokeTests/OOProcSmokeTests/durableJava/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Rename host.json | |
run: | | |
mv test/SmokeTests/OOProcSmokeTests/durableJava/host.json test/SmokeTests/OOProcSmokeTests/durableJava/host.json.temp2 | |
mv test/SmokeTests/OOProcSmokeTests/durableJava/host.json.temp1 test/SmokeTests/OOProcSmokeTests/durableJava/host.json | |
- name: Build with Maven | |
run: mvn -B clean package | |
working-directory: test/SmokeTests/OOProcSmokeTests/durableJava | |
- name: Re-rename host.json | |
run: | | |
mv test/SmokeTests/OOProcSmokeTests/durableJava/host.json test/SmokeTests/OOProcSmokeTests/durableJava/host.json.temp1 | |
mv test/SmokeTests/OOProcSmokeTests/durableJava/host.json.temp2 test/SmokeTests/OOProcSmokeTests/durableJava/host.json | |
- name: Run V4 Java 17 Smoke Test | |
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/durableJava/Dockerfile -HttpStartPath api/StartOrchestration -TestWithCustomInstanceId | |
shell: pwsh |