Skip to content

Commit 68d4910

Browse files
authored
Merge pull request #48 from simonharris/copilot/add-github-action-test-workflow
Add CI test workflow and README badge
2 parents 0ab18d2 + bbff816 commit 68d4910

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Install SWI-Prolog
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y swi-prolog
24+
25+
- name: Run tests
26+
run: make test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# plunit_assert
22

3+
[![Run Tests](https://github.com/simonharris/plunit_assert/actions/workflows/test.yaml/badge.svg)](https://github.com/simonharris/plunit_assert/actions/workflows/test.yaml)
4+
35
PlUnit is a unit testing library for Prolog. Its goals are:
46

57

0 commit comments

Comments
 (0)