Skip to content

Commit

Permalink
Add test workflow and badge
Browse files Browse the repository at this point in the history
  • Loading branch information
radulucut committed Dec 13, 2023
1 parent 61d35db commit d786b8f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

on: [push]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go: ["1.20"]
os: [ubuntu-latest]
name: ${{ matrix.os }} Go ${{ matrix.go }} Tests
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: go test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Experimental alternative to HTML

![Test](https://github.com/radulucut/htnoml/actions/workflows/test.yml/badge.svg)

### Example

```htnoml
Expand Down

0 comments on commit d786b8f

Please sign in to comment.