Skip to content

Commit

Permalink
Run acceptance tests as part of the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed Nov 10, 2024
1 parent 35b05d6 commit 5f01090
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
name: Test & Build

on:
pull_request:
push:
paths:
- 'cmd/**'
- 'internal/**'
- 'acceptance/**'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20']
go: [ '1.20' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- name: Check out the source code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Run Tests...
- name: Run unit tests
run: go test -v -vet=off -race ./...
- name: Build...
run: go build -race cmd/killgrave/main.go
- name: Run acceptance tests
run: make acceptance

0 comments on commit 5f01090

Please sign in to comment.