Skip to content

Commit

Permalink
Create unit-tests.yml
Browse files Browse the repository at this point in the history
Add unit test on every push
  • Loading branch information
julien-pal authored Dec 1, 2023
1 parent 74e3656 commit 5077c3f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Terraform Provider test workflow.
name: Test

# This GitHub action creates launch test when a commit is done
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20.0' # The Go version to download (if necessary) and use.
go-version-file: './go.mod'
- run: go test -v -tags=unit_tests ./...

0 comments on commit 5077c3f

Please sign in to comment.