Create smoke-tests.yml
This commit is contained in:
34
.github/workflows/smoke-tests.yml
vendored
Normal file
34
.github/workflows/smoke-tests.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# This workflow will build the Java project with Maven and peform IntelliJ smoke tests
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||||
|
|
||||||
|
name: Smoke Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
paths-ignore:
|
||||||
|
- "charts/**"
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
paths-ignore:
|
||||||
|
- "charts/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout project
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -B package --file pom.xml verify
|
||||||
|
- name: Download and install HTTP client
|
||||||
|
run: |
|
||||||
|
curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest"
|
||||||
|
unzip ijhttp.zip
|
||||||
Reference in New Issue
Block a user