File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ![ ] ( https://github.com/scanapi/design/raw/master/images/github-hero-dark.png )
2+
13# ScanaAPI
24An action that allows developers to run ScanAPI using github actions.
35
@@ -15,7 +17,7 @@ The following will take the yaml file and produce a scanapi-report.html file as
1517- name : Run automated API tests
1618 uses : scanapi/github-action@v1
1719 with :
18- arguments : ' scanapi.yaml'
20+ arguments : ' run ./ scanapi.yaml'
1921` ` `
2022
2123## Example workflow
@@ -32,13 +34,14 @@ jobs:
3234 scanapi :
3335 runs-on : ubuntu-latest
3436 steps :
35- - uses : actions/checkout@master
37+ - uses : actions/checkout@v2
3638 - name : Run automated API tests
3739 uses : scanapi/github-action@v1
3840 with :
3941 arguments : " run ./scanapi.yaml"
4042 - name : Upload scanapi-report.html
4143 uses : actions/upload-artifact@v2
44+ if : ${{ always() }}
4245 with :
4346 name : ScanAPI Report
4447 path : scanapi-report.html
You can’t perform that action at this time.
0 commit comments