mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update test-pipeline.yml
This commit is contained in:
12
.github/workflows/test-pipeline.yml
vendored
12
.github/workflows/test-pipeline.yml
vendored
@@ -3,6 +3,11 @@ name: Test pipeline
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
cache-id:
|
||||||
|
default: 'test-results'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -64,9 +69,14 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: badge-combined
|
||||||
|
path: ./MewtocolTests/TestResults/badge_combined.svg
|
||||||
|
|
||||||
- name: Cache test results
|
- name: Cache test results
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
key: coverage-data
|
key: ${{ inputs.cache-id }}
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/MewtocolTests/TestResults
|
${{ github.workspace }}/MewtocolTests/TestResults
|
||||||
|
|||||||
Reference in New Issue
Block a user