Configure Renovate #176
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: Test | |
on: | |
push: | |
tags-ignore: # will be called from release job | |
- 'v[0-9]+.*' | |
branches: | |
- "master" | |
pull_request: | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ${{ matrix.runner }} | |
name: ${{ matrix.java }} | |
strategy: | |
matrix: | |
java: [11, 17] | |
runner: [ubuntu-latest] # macos-latest disabled due to inability to run docker and connect to it | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Setup Docker for Linux | |
if: runner.os != 'macos' | |
run: | | |
docker compose -f src/test/resources/registries/compose.yaml up --build -d | |
- name: Setup Helm binary | |
run: | | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | |
chmod 700 get_helm.sh | |
./get_helm.sh --version 3.14.2 | |
helm repo add stable https://charts.helm.sh/stable | |
helm repo update | |
echo "Helm setup complete, running Helm version:" | |
helm version | |
- name: Run tests | |
run: | | |
sbt test | |
sbt scripted | |
# > sbt "scripted shelm/simple" # runs single test |