Skip to content

adding macos runner to reproduce mac bug #168

adding macos runner to reproduce mac bug

adding macos runner to reproduce mac bug #168

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.runner }}
name: ${{ matrix.java }}
strategy:
matrix:
java: [11, 17]
runner: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Set up Docker for Mac OS
if: runner.os == 'macos'
run: |
brew install docker
colima start
docker compose -h
- name: Setup environment
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
docker compose -f src/test/resources/registries/compose.yaml up --build -d
- name: Run tests
run: |
sbt test
sbt scripted
# > sbt "scripted shelm/simple" # runs single test