Skip to content

Bootstrap Companions in Kubernetes Environments (#156) #122

Bootstrap Companions in Kubernetes Environments (#156)

Bootstrap Companions in Kubernetes Environments (#156) #122

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: Build and test API
jobs:
unitTest:
name: API Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install latest stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- name: Run cargo test
run:
cargo test --manifest-path api/Cargo.toml
integrationTests:
name: API Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build Docker Image
run: docker build --pull -t aixigo/prevant .
- name: Install latest stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- name: Run cargo test
run:
cargo test --manifest-path api-tests/Cargo.toml -- --test-threads=1