From c17403b707fc6a65d76f2ed865044466a236e198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20V=C3=B6gele?= Date: Mon, 24 Apr 2023 13:16:00 +0200 Subject: [PATCH] Upload coverage reports --- .github/workflows/linux.yml | 5 ++++- .gitlab-ci.yml | 6 +----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7feb5aa..04c5fdd 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -21,6 +21,9 @@ jobs: apt-get install -y libmaxminddb-dev cpanm --quiet --notest --installdeps . - name: Run tests + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} run: | perl Makefile.PL - cover -test + cover -test -report coveralls diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3622893..8a12e75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,11 +8,7 @@ test: when: never - when: always script: + - apt-get install -y libmaxminddb-dev - cpanm --quiet --notest --installdeps . - perl Makefile.PL - cover -test - -include: - - remote: 'https://mirror.andreasvoegele.com/gitlab/build-packages.yaml' - rules: - - if: $BUILD_PACKAGES == "true"