Skip to content

Add PR Verify Pipelines #3

Add PR Verify Pipelines

Add PR Verify Pipelines #3

name: Anubis - PR Verify
on:
pull_request:
branches:
- develop
paths:
- "anubis-eval/**"
- ".github/workflows/anubis-eval-pr-verify.yaml"
jobs:
build:
name: Build and Test Anubis Eval Microservice
runs-on: ubuntu-latest
defaults:
run:
working-directory: anubis-eval
steps:
- uses: actions/checkout@v4
- name: Run docker-compose
uses: hoverkraft-tech/[email protected]
with:
compose-file: "./anubis-eval/tests-setup/docker-compose.yaml"
up-flags: "--build -d"
- name: Setup rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: '1.72.0'
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-nextest
version: '0.9.64'
locked: true
- name: Build
run: cargo build --release
- name: Test
run: cargo nextest run --all-features --profile ci