mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-11-25 05:10:57 -05:00
Update test.yml
This commit is contained in:
parent
0929a0c636
commit
3e3e6b3eec
1 changed files with 6 additions and 7 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
@ -10,20 +10,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Request Postment Echo GET
|
- name: Request Postman Echo GET
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/get'
|
url: 'https://postman-echo.com/get'
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
|
|
||||||
- name: Request Postment Echo POST
|
- name: Request Postman Echo POST
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/post'
|
url: 'https://postman-echo.com/post'
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
data: '{ "key": "value" }'
|
data: '{ "key": "value" }'
|
||||||
|
|
||||||
- name: Request Postment Echo POST with Unescaped Newline
|
- name: Request Postman Echo POST with Unescaped Newline
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/post'
|
url: 'https://postman-echo.com/post'
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
text"
|
text"
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Request Postment Echo BasicAuth
|
- name: Request Postman Echo BasicAuth
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/basic-auth'
|
url: 'https://postman-echo.com/basic-auth'
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
username: 'postman'
|
username: 'postman'
|
||||||
password: 'password'
|
password: 'password'
|
||||||
|
|
||||||
- name: Request Postment Echo with 404 Response and ignore failure code
|
- name: Request Postman Echo with 404 Response and ignore failure code
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/status/404'
|
url: 'https://postman-echo.com/status/404'
|
||||||
|
@ -51,11 +51,10 @@ jobs:
|
||||||
ignoreStatusCodes: '404'
|
ignoreStatusCodes: '404'
|
||||||
|
|
||||||
- name: Create Test File
|
- name: Create Test File
|
||||||
id: image
|
|
||||||
run: |
|
run: |
|
||||||
echo "test" > testfile.txt
|
echo "test" > testfile.txt
|
||||||
|
|
||||||
- name: Request Postment Echo POST Multipart
|
- name: Request Postman Echo POST Multipart
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
url: 'https://postman-echo.com/post'
|
url: 'https://postman-echo.com/post'
|
||||||
|
|
Loading…
Reference in a new issue