Update smoke-tests.yml
Don't do integration tests. Start server Run smoke tests Stop Server
This commit is contained in:
13
.github/workflows/smoke-tests.yml
vendored
13
.github/workflows/smoke-tests.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
- "charts/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build_and_smoke_test:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -27,8 +27,17 @@ jobs:
|
||||
with:
|
||||
java-version: 17
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml verify
|
||||
run: mvn -B package --file pom.xml
|
||||
- name: Download and install HTTP client
|
||||
run: |
|
||||
curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest"
|
||||
unzip ijhttp.zip
|
||||
- name: Start server with jetty
|
||||
run: |
|
||||
mvn jetty:run & export JPA_PROCESS=$!
|
||||
sleep 20
|
||||
- name: Execute smoke tests
|
||||
run: ./ijhttp/ijhttp ./src/test/smoketest/plain_server.http --env-file ./src/test/smoketest/http-client.env.json --env default
|
||||
- name: Stop server
|
||||
run: kill $JPA_PROCESS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user