Skip to content

chore : seeder configuration #7

chore : seeder configuration

chore : seeder configuration #7

Workflow file for this run

name: Run Tests on Push to Testing Branch
on:
push:
branches:
- testing # Runs only when code is pushed to the 'testing' branch
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Clear NuGet Cache (Prevents Stale Packages)
run: dotnet nuget locals all --clear
- name: Restore Dependencies (Force All Packages)
run: dotnet restore Bottle.sln --locked-mode
- name: Verify Installed Packages
run: dotnet list package
- name: Copy Environment Variables
run: cp .env.example .env
- name: Clean Build
run: dotnet clean Bottle.sln --configuration Debug
- name: Build Project
run: dotnet build Bottle.sln --configuration Debug --no-restore
- name: Run Tests
run: dotnet test Bottle.sln --logger trx --results-directory TestResults