Skip to content

chore : remove cache & list installed packages #4

chore : remove cache & list installed packages

chore : remove cache & list installed packages #4

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: Clean and Remove Old Dependencies
run: dotnet clean
- name: Restore Dependencies
run: dotnet restore
- name: Verify Installed Packages
run: dotnet list package
- name: Copy Environment Variables
run: cp .env.example .env
- name: Build Project
run: dotnet build --configuration Debug --no-restore
- name: Run Tests
run: dotnet test --logger trx --results-directory TestResults