-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.16 KB
/
sandbox-checks.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
30
31
32
33
34
35
36
37
38
39
40
name: Sandbox Check
on: pull_request
jobs:
sandbox-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'poetry'
- name: Install Sandbox dependencies
run: make install
working-directory: ./sandbox
- name: Install CI dependencies
run: poetry install --only ci --no-root
- name: Check Sandbox Formatting
run: make format
- name: Run Sandbox Linting
run: make lint
- name: Run Sandbox Unit Tests
run: make test
working-directory: ./sandbox
run-postman-collection:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Newman
run: npm install -g newman
- name: Run Postman Collection
run: newman run ./postman/Validate_Relationship_Service_Sandbox.postman_collection.json