-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (29 loc) · 977 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Test OpenAPI Spec Diff Action'
on: push
jobs:
oas_diff_job:
runs-on: ubuntu-latest
name: A job to test OpenAPI Spec diff action
steps:
- name: checkout
uses: actions/checkout@v3
- name: Running OpenAPI Spec diff action
id: test_ete
uses: ./
with:
base: 'specs/base.yaml'
revision: 'specs/revision.yaml'
oas_diff_breaking_changes_job:
runs-on: ubuntu-latest
name: A job to test OpenAPI Spec breaking changes
steps:
- name: checkout
uses: actions/checkout@v3
- name: Running OpenAPI Spec check breaking action
id: test_breaking_changes
uses: Tufin/oasdiff-action@main
with:
base: https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test1.yaml
revision: https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test3.yaml
format: 'text'
check-breaking: true