http/.github/workflows/test.yml

33 lines
727 B
YAML
Raw Normal View History

2020-04-21 07:44:56 -04:00
name: Test
on: [push, pull_request]
jobs:
request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
2020-04-21 07:55:30 -04:00
- name: Request Postment Echo GET
2020-04-21 07:44:56 -04:00
uses: ./
with:
2020-04-21 07:55:30 -04:00
url: 'https://postman-echo.com/get'
2020-04-21 07:44:56 -04:00
method: 'GET'
2020-04-21 07:58:56 -04:00
- name: Request Postment Echo POST
uses: ./
with:
url: 'https://postman-echo.com/post'
method: 'POST'
data: '{ "key": "value" }'
2020-04-21 08:07:56 -04:00
- name: Request Postment Echo BasicAuth
uses: ./
with:
url: 'https://postman-echo.com/basic-auth'
method: 'POST'
username: 'postman'
password: 'password'