Skip to content

Commit

Permalink
Run tests using the new Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Aug 15, 2024
1 parent 6b59b9d commit 5f862d2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI Tests (musl)

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build container
run: |
docker buildx build --load -t dqlite --build-arg=DQLITE_REF=${{ github.ref }} contrib
- name: Run tests
run: |
docker run dqlite contrib/run-tests
3 changes: 3 additions & 0 deletions contrib/run-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

LIBDQLITE_TRACE=1 make -j$(nproc) check || (cat test-suite.log && false)

0 comments on commit 5f862d2

Please sign in to comment.