You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11 support strykerjs to be ran with this action (#16)
* test if composite can run docker container
* update to right image
* revert to local docker image
* run local docker image
* some other test
* run local docker image
* does this work?
* temp test
* update
* update arg ref
* test for public package
* test for public package
* chmod stuff;
* removed html reporter
* update docker image with arguments
* does this work?
* use github workspace
* update
* mount github workspace inside of container
* shell is mandatory
* update
* changed target of mount to base
* added LS to see what happens....
* list directory
* update
* update
* update
* update
* update
* update
* update
* update
* added workspace to testporject ref
* removed ls command
* update dockerfile stuff;
* renamed stryker.net dockerfile
* update
* update
* update
* update
* update packge reference
* remove not working stuff;
* added stryker version
* update
* update readme
* update input parameter name
* update base image name
* added strykerJS base image
* bring back the html report
* run strykerJS config
* run strykerJS from the pipeline
Copy file name to clipboardExpand all lines: action.yml
+34-8Lines changed: 34 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,43 @@ branding:
5
5
icon: 'zap'
6
6
color: 'red'
7
7
inputs:
8
+
tool:
9
+
description: "The type of stryker that you want to run (accepted values: Stryker.NET)"
10
+
required: true
8
11
testProject:
9
12
description: "The path to the test project directory (e.g. BusinessLogic.Test/)"
10
13
required: true
11
-
breakAt:
12
-
description: "When threshold break is set to anything other than 0 and the mutation score is lower than the threshold Stryker will exit with a non-zero code."
14
+
configFile:
15
+
description: "The path to the stryker config file"
13
16
required: false
14
-
default: "0"
17
+
default: ./
15
18
16
19
runs:
17
-
using: 'docker'
18
-
image: 'run-stryker-net.dockerfile'
19
-
args:
20
-
- ${{ inputs.testProject }}
21
-
- ${{ inputs.breakAt }}
20
+
using: "composite"
21
+
steps:
22
+
- name: Check tool
23
+
if: ${{ inputs.tool != 'Stryker.NET' }}
24
+
run: |
25
+
echo "Invalid tool. Expected 'Stryker.NET' or StrykerJS."
0 commit comments