fix: arm64 support #276
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 Test | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
find-tests: | |
name: Find Tests | |
runs-on: ubuntu-latest | |
outputs: | |
folders: ${{ steps.jobs.outputs.folders }} | |
steps: | |
- uses: actions/checkout@v4 | |
- id: jobs | |
uses: kmanimaran/list-folder-action@v4 | |
with: | |
path: ./tests/bats | |
test: | |
needs: [find-tests] | |
strategy: | |
matrix: | |
inputs: ${{fromJson(needs.find-tests.outputs.folders)}} | |
name: Run Bats Tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run tests | |
run: bats ./tests/bats/${{ matrix.inputs }} | |