Skip to content

Bump rustix from 0.38.13 to 0.38.21 in /api #232

Bump rustix from 0.38.13 to 0.38.21 in /api

Bump rustix from 0.38.13 to 0.38.21 in /api #232

Workflow file for this run

on: [push]
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-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --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-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path api-tests/Cargo.toml -- --test-threads=1