Skip to content

Commit

Permalink
ci: add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Jun 30, 2024
1 parent 1890359 commit 45bf517
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,29 @@ jobs:
cmake -S . -B build -DUA2F_BUILD_TESTS=ON -DUA2F_ENABLE_UCI=OFF
cmake --build build
./build/ua2f_test
test-integration:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-fast install -y cmake libnetfilter-queue-dev libmnl-dev libnetfilter-conntrack-dev
- name: Install requests
run: |
pip install requests
- name: Run unit tests
run: |
cmake -S . -B build -DUA2F_BUILD_TESTS=OFF -DUA2F_ENABLE_UCI=OFF
cmake --build build
sudo python scripts/test.py ./build/ua2f
build:
name: Build ${{ matrix.arch }}
Expand Down

0 comments on commit 45bf517

Please sign in to comment.