forked from gklijs/schema_registry_converter
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 782 Bytes
/
ci.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
name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: "-C link-dead-code"
CARGO_MAKE_RUN_CODECOV: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: cargo install --debug cargo-make
- name: Build
run: cargo build --verbose
- name: prepare env
run: docker compose up -d
- name: check test app done
run: ./check_test_app_done.sh
shell: bash
- name: prepare integration test
run: ./prepare_integration_test.sh
shell: bash
- name: test
run: cargo test --verbose --all-features -- --test-threads=1
- name: ci-flow
run: cargo make --makefile make.toml ci-flow