Skip to content

Respect WithExcluded in AfterAll plugin hook (#10) #55

Respect WithExcluded in AfterAll plugin hook (#10)

Respect WithExcluded in AfterAll plugin hook (#10) #55

Workflow file for this run

---
name: Quality Assurance
"on":
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
# Cancel prior runs on the same branch when a new one starts
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run unit tests with race detector
if: runner.os != 'Windows'
run: go test -race -v ./...
- name: Run unit tests without race detector
if: runner.os == 'Windows'
run: go test -v ./...
lint:
name: Lint
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run linters
uses: golangci/golangci-lint-action@v9
with:
version: v2.11.4
args: --tests=false --timeout=5m