Update test.yml

This commit is contained in:
Frank Jogeleit 2021-07-22 14:52:06 +02:00 committed by GitHub
parent 0929a0c636
commit 3e3e6b3eec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'