Skip to content

Commit 00cadcf

Browse files
authored
Merge pull request #15 from kristapsk/github-ci-bats
CI: Run BATS unit tests for finalize-nakamochi.sh
2 parents 2779651 + b5bd42f commit 00cadcf

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ jobs:
33
build:
44
runs-on: ubuntu-latest
55
steps:
6-
- uses: actions/checkout@v4
6+
- name: Checkout repository
7+
uses: actions/checkout@v4
78
- name: Run ShellCheck
89
uses: ludeeus/action-shellcheck@master
10+
- name: Checkout submodules
11+
run: git submodule update --init --recursive
12+
- name: Install mkp224o
13+
run: |
14+
sudo apt install gcc libc6-dev libsodium-dev make autoconf
15+
git clone https://github.com/cathugger/mkp224o
16+
cd mkp224o
17+
./autogen.sh
18+
./configure
19+
make
20+
sudo cp mkp224o /usr/local/bin
21+
- name: Run unit tests
22+
run: ./test/bats/bin/bats ./test/test-finalize-nakamochi.bats

0 commit comments

Comments
 (0)