Skip to content

Commit

Permalink
github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
david-littlefarmer committed Oct 10, 2024
1 parent 20ad9bc commit 7bf1ec3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on:
push:
branches:
- master
pull_request:

jobs:
test:
name: Test check
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.0

- name: Run tests and coverage
run: |
go test -v -coverprofile=coverage.txt -covermode=atomic ./...
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

bin/*
_examples/e2.ridl
coverage.txt

0 comments on commit 7bf1ec3

Please sign in to comment.