Skip to content

Commit

Permalink
Update unit-tests.yml
Browse files Browse the repository at this point in the history
install dependencies before testing
julien-pal authored Dec 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 68f5a70 commit b6271e5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -4,15 +4,6 @@ name: Test
# This GitHub action creates launch test when a commit is done
on: [push]
jobs:
setup:
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 mod tidy
run-tests:
runs-on: ubuntu-latest
steps:
@@ -21,4 +12,4 @@ jobs:
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 ./...
- run: go mod tidy && go test -v -tags=unit_tests ./...

0 comments on commit b6271e5

Please sign in to comment.