Skip to content

Commit

Permalink
ci: more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Sep 3, 2023
1 parent f09b655 commit cf0bb2e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ jobs:
Coverage:
# look at https://github.com/eddyxu/cpp-coveralls
runs-on: ubuntu-20.04
strategy:
matrix:
openssl_version: [openssl-1.0.2u, openssl-1.1.1v, openssl-3.0.10, openssl-3.1.2]
env:
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_TOKEN }}"
WITH_LUA_ENGINE: LuaJIT
LUA: luajit2.1
LUAROCKS: 3.8.0
SSL: ${{ matrix.openssl_version }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -20,15 +24,22 @@ jobs:
run: pip install cpp-coveralls PyYAML
- name: depends
run: sudo apt update && sudo apt install -y libuv1-dev
- name: setup
run:
.github/shell/setup_lua.sh && .github/shell/setup_ssl.sh
- name: run
run: |
.github/shell/setup_lua.sh
export PATH=$HOME/.usr/bin:$PATH
$HOME/.usr/bin/luarocks install luv
ln -s $HOME/.usr/lib/lua/5.1/luv.so
export PKG_CONFIG_PATH=$HOME/.usr/lib/pkgconfig
make coveralls
coveralls -b . -i src --gcov-options '\-lp'
# coveralls -b . -i src --gcov-options '\-lp'
- name: Send coverage to Coveralls (parallel)
uses: coverallsapp/github-action@v1
with:
parallel: true
flag-name: run-${{ matrix.openssl_version }}

Valgrind:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit cf0bb2e

Please sign in to comment.