Skip to content

chore: Upload the aab to the workflow artifacts #1751

chore: Upload the aab to the workflow artifacts

chore: Upload the aab to the workflow artifacts #1751

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Api Tests
on:
push:
paths:
- backend/**
- .github/**
- tests/**
jobs:
api-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
env:
POSTGRES_PASSWORD: password
POSTGRES_DB: liftlog
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5401:5432
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: ./tests/LiftLog.Tests.Api
- name: Build
run: dotnet build
working-directory: ./tests/LiftLog.Tests.Api
- name: Test
run: dotnet run --no-restore --verbosity normal
working-directory: ./tests/LiftLog.Tests.Api