mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 19:09:36 +00:00
167a7ee80c
- Updates `actions/checkout` from 4 to 6 - Updates `docker/login-action` from 3 to 4 - Updates `Chizkiyahu/delete-untagged-ghcr-action` from 5 to 6 - Updates `actions/upload-artifact` from 4 to 7 - Updates `actions/download-artifact` from 4 to 8 - Updates `cygwin/cygwin-install-action` from 4 to 6 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
988 B
YAML
36 lines
988 B
YAML
name: Code coverage report
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v6
|
|
- name: Install deps
|
|
shell: bash
|
|
run: |
|
|
./.github/scripts/install_deps.sh ubuntu
|
|
- name: Install LCOV
|
|
run: |
|
|
sudo apt-get install lcov
|
|
- name: Install test dependency dependencies
|
|
shell: bash
|
|
run: |
|
|
test/fetch-test-deps.sh --get-deps ubuntu
|
|
- name: Generate coverage report
|
|
run: |
|
|
contrib/coverage.bash ubuntu-ci
|
|
- name: Upload coverage report
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: coverage-report
|
|
# Workaround for keeping the top-level coverage/ directory
|
|
# https://github.com/actions/upload-artifact/issues/174
|
|
path: |
|
|
coverage
|
|
dummy-file-to-keep-directory-structure.txt
|
|
if-no-files-found: error
|