Update test-pipeline.yml

This commit is contained in:
Felix Weiß
2023-06-17 12:54:36 +02:00
committed by GitHub
parent 128b9f9705
commit 5dfa48a89a

View File

@@ -3,6 +3,11 @@ name: Test pipeline
on:
workflow_dispatch:
workflow_call:
inputs:
cache-id:
default: 'test-results'
required: false
type: string
push:
branches:
- main
@@ -64,9 +69,14 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: badge-combined
path: ./MewtocolTests/TestResults/badge_combined.svg
- name: Cache test results
uses: actions/cache/save@v3
with:
key: coverage-data
key: ${{ inputs.cache-id }}
path: |
${{ github.workspace }}/MewtocolTests/TestResults