-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (20 loc) · 770 Bytes
/
action.yml
File metadata and controls
24 lines (20 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Sentry CLI integration test
description: |
Action to test Sentry CLI integration & symbol upload. This action simply runs all the https://github.com/pester/Pester
tests in the given directory. The tests can make use of a dummy Sentry server that collects uploaded symbols.
This server is made available as a PowerShell module to your tests.
inputs:
path:
description: The directory containing all the tests.
required: true
runs:
using: composite
steps:
- name: Run tests
shell: pwsh
env:
GITHUB_ACTION_PATH: ${{ github.action_path }}
INPUT_PATH: ${{ inputs.path }}
run: |
Import-Module -Name "$env:GITHUB_ACTION_PATH/action.psm1" -Force
Invoke-Pester -Output Detailed "$env:INPUT_PATH"