File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ ![ ] ( https://github.com/scanapi/design/raw/master/images/github-hero-dark.png )
2
+
1
3
# ScanaAPI
2
4
An action that allows developers to run ScanAPI using github actions.
3
5
@@ -15,7 +17,7 @@ The following will take the yaml file and produce a scanapi-report.html file as
15
17
- name : Run automated API tests
16
18
uses : scanapi/github-action@v1
17
19
with :
18
- arguments : ' scanapi.yaml'
20
+ arguments : ' run ./ scanapi.yaml'
19
21
` ` `
20
22
21
23
## Example workflow
@@ -32,13 +34,14 @@ jobs:
32
34
scanapi :
33
35
runs-on : ubuntu-latest
34
36
steps :
35
- - uses : actions/checkout@master
37
+ - uses : actions/checkout@v2
36
38
- name : Run automated API tests
37
39
uses : scanapi/github-action@v1
38
40
with :
39
41
arguments : " run ./scanapi.yaml"
40
42
- name : Upload scanapi-report.html
41
43
uses : actions/upload-artifact@v2
44
+ if : ${{ always() }}
42
45
with :
43
46
name : ScanAPI Report
44
47
path : scanapi-report.html
You can’t perform that action at this time.
0 commit comments