Skip to content

Commit

Permalink
(ci): add unit-tests job
Browse files Browse the repository at this point in the history
  • Loading branch information
narcis96 committed Mar 4, 2024
1 parent 704fda6 commit 9e1cb43
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,33 @@ concurrency:
cancel-in-progress: true

jobs:
unit-test:
runs-on: ubuntu-latest
name: Unit Test
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"

- name: Run Unit Tests
run: go test ./...

e2e-test-empty:
runs-on: ubuntu-latest
name: E2E Empty Test
steps:
- name: Echo hello
run: |
echo "hello"
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"

0 comments on commit 9e1cb43

Please sign in to comment.