forked from tremor-rs/tremor-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.09 KB
/
eqc.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
name: EQC Tests
on: [push]
jobs:
eqc-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1.0.0
- uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
- uses: Swatinem/rust-cache@v1
- uses: gleam-lang/setup-erlang@v1.1.2
with:
otp-version: 23.1
- name: Install deps
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1
- name: Install yaml2json
run: go get github.com/bronze1man/yaml2json
- name: install EQC
run: curl -O http://quviq-licencer.com/downloads/eqcR21.zip && unzip eqcR21.zip && cd Quviq* && sudo erl -noshell -eval 'eqc_install:install()' -eval 'init:stop()'
- name: Activate EQC
run: erl -noshell -eval 'eqc:registration("${{secrets.EQC_LICENSE}}")' -eval "eqc:start()" -eval "init:stop()"
- name: generate yaml
run: ~/go/bin/yaml2json < static/openapi.yaml > static/openapi.json
- name: Build
run: cargo build --all
- name: Run eqc tests
run: ./.github/checks/eqc.sh