Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA: Measure the code coverage also on MS-Windows #6795

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
if: matrix.toolchain == 'mingw'
with:
msystem: ${{ matrix.msystem }}
path-type: inherit
release: false

- uses: actions/checkout@v2
Expand Down Expand Up @@ -169,6 +170,7 @@ jobs:
DYNAMIC_LUA=yes LUA=${LUA_DIR} \
DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
COVERAGE=yes \
STATIC_STDCPLUS=yes
else
mingw32-make -f Make_ming.mak -j2 \
Expand Down Expand Up @@ -226,3 +228,12 @@ jobs:
echo %COL_RED%Timed out.%COL_RESET%
exit 1
)

- name: Coverage (MinGW)
if: matrix.toolchain == 'mingw'
shell: msys2 {0}
run: |
cd src
export ARCH=${{ matrix.arch }}
export TOOLCHAIN=${{ matrix.toolchain }}
bash <(curl -s https://codecov.io/bash) -e TOOLCHAIN,ARCH -F windows
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ _anchors:
# not with clang
- CC=gcc pip install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
- ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
- (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
- (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash) -F linux)

asan_symbolize: &asan_symbolize
# Update pyenv to fix the error "/opt/pyenv/libexec/pyenv: line 43: cd: asan_symbolize-6.0: Not a directory".
Expand Down