Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
feat: add github actions for test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryburov committed Mar 3, 2023
1 parent 2aa68f4 commit d8c2a72
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Testing

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]


permissions:
contents: write

jobs:
tests:
environment: tests
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- run: go version

- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: go mod download && go mod tidy

- name: Unit Tests
run: make test

0 comments on commit d8c2a72

Please sign in to comment.