mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 03:52:56 +00:00
Move coverage data to a better directory, merge it better and don't publish it from CircleCI pipeline
18 lines
500 B
YAML
18 lines
500 B
YAML
name: 'Merge and upload coverage data'
|
|
description: 'Compresses and uploads the coverage data as an artifact'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Merge coverage data
|
|
shell: bash -ex {0}
|
|
run: scripts/coverage "--profraw-prefix=$GITHUB_JOB" --dir=/tmp/coverage merge
|
|
|
|
- name: Upload coverage data
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
retention-days: 7
|
|
if-no-files-found: error
|
|
name: coverage-data-artifact
|
|
path: /tmp/coverage/
|