Skip to content

fix(anubis cd): specify version for cargo nextest #24

fix(anubis cd): specify version for cargo nextest

fix(anubis cd): specify version for cargo nextest #24

name: Quetzalcoatl - Build and Test Auth Service
on:
push:
paths:
- "quetzalcoatl-auth/**"
- ".github/workflows/quetzalcoatl-auth-ci.yaml"
pull_request:
paths:
- "quetzalcoatl-auth/**"
- ".github/workflows/quetzalcoatl-auth-ci.yaml"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: quetzalcoatl-auth
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.x'
- name: Build
run: |
dotnet restore "Bootstrapper/Bootstrapper.csproj"
dotnet restore "Tests.Integration/Tests.Integration.csproj"
dotnet build --no-restore
- name: Test
run: dotnet test -e ASPNETCORE_ENVIRONMENT=Testing "Tests.Integration/Tests.Integration.csproj"