Skip to content

Commit

Permalink
enable pull request tests (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter authored Aug 29, 2023
1 parent 8820d98 commit 6d03b18
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

on:
pull_request:
branches:
- main

jobs:
test-unit:
name: "Unit Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.0
- run: make test

test-sqlite:
name: "SQLite Integration Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
- uses: actions/setup-go@v4
with:
go-version: 1.21.0
- run: npm install -g zx
- run: make build
- run: cd tests/sqlite && ../test.mjs

0 comments on commit 6d03b18

Please sign in to comment.