Skip to content

Commit 5b98311

Browse files
committed
ci: run the integration test suite on every push
Single job building with autotools and running make check; the suite needs /dev/fuse, which the hosted runners provide.
1 parent 7c0dfc2 commit 5b98311

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Suite
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
name: Build and test
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Set up Git repository
12+
uses: actions/checkout@v4
13+
with:
14+
submodules: recursive
15+
16+
- name: Install dependencies
17+
run: |
18+
sudo apt-get -q update
19+
sudo apt-get -q -y install --no-install-recommends \
20+
build-essential automake autoconf libtool pkg-config \
21+
icu-devtools libicu-dev libxml2-dev uuid-dev libsnmp-dev \
22+
libfuse-dev attr
23+
sudo install -m 755 tests/docker/icu-config /usr/local/bin/icu-config
24+
25+
- name: Build
26+
run: |
27+
./autogen.sh
28+
./configure --enable-icu-6x
29+
make -j"$(nproc)"
30+
31+
- name: Run tests
32+
run: make check VERBOSE=1 || { cat tests/test-suite.log; exit 1; }

0 commit comments

Comments
 (0)