Merge pull request #166 from xenit-eu/NYS2AWS-71-hostname-anti-affinity #517
This file contains 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: 'Integration testing' | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
integration-testing: | |
runs-on: ubuntu-latest-4-cores | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Install Helm | |
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3 | |
- name: Install kind | |
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 | |
with: | |
install_only: true | |
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Check | |
working-directory: integration-testing | |
run: ./gradlew check -i | |
- name: Upload Artifact | |
if: success() || failure() | |
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 | |
with: | |
name: test-result | |
path: /home/runner/work/**/build/reports | |
retention-days: 2 |