Skip to content

Commit

Permalink
Updated CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Apr 2, 2024
1 parent c759be9 commit b5cb529
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: "Unit Test"
name: "Testing"

on:
push:
branches:
- main
- staging
paths-ignore:
- 'docs/**'
- 'documentation/**'
- '*.md'
- 'docker-compose.yaml'
- 'docker-compose.dev.yaml'
- 'makefile'
pull_request:
types: [ opened,synchronize ]
branches:
- main
- staging

jobs:
test:
name: Run Go Unit Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Get dependencies
run: go mod download
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20

- name: Run tests
run: go test -v ./...
- name: Get dependencies and run tests
run: |
go mod download
go test -v ./...

0 comments on commit b5cb529

Please sign in to comment.