Skip to content

Commit

Permalink
add github workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed May 15, 2024
1 parent f5a95fe commit a4aa8af
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.4
- name: Run tests
run: go test -short ./...
env:
GOOS: linux

0 comments on commit a4aa8af

Please sign in to comment.