-
Notifications
You must be signed in to change notification settings - Fork 66
57 lines (45 loc) · 1.17 KB
/
postman-tests.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Postman
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y hwloc libhwloc-dev jq ocl-icd-opencl-dev
- name: Build
run: make clean all
- name: Build deps for postman tests
run: |
cd tests/postman
npm install
- name: Setup
run: echo "APIKEY=$(./estuary setup --username admin --password password1 | sed -e's/.*EST/EST/g' | tail -n1)" >> $GITHUB_ENV
- name: Run Estuary
run: |
./estuary configure
sed -i ~/.estuary -e 's/.*rate_limit.*/ "rate_limit": 2000000000/'
./estuary &
- name: Test
run: |
cd tests/postman
./run_tests.bash
env:
APIKEY: ${{env.APIKEY}}