Louis 1dc4d308e4
All checks were successful
Tests / Unit Testing1 (push) Successful in 43s
ci: 💚 Fix CI to add files
2023-11-02 19:50:03 +01:00

24 lines
738 B
YAML

name: Tests
on: push
jobs:
tests:
name: Unit Testing1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# The repo is on a custom server https://gitea.louisgallet.fr/EPITA-TP-PROG/RiderAndUnitTest.git
repository: "EPITA-TP-PROG/B2B-Training"
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: "🏗️ Build"
run: dotnet build
- name: "🗃️ Setup file"
# Add files into /Tests/bin/Debug/net7.0 and create thisfileexist.txt
run: |
echo "incredible file" > /workspace/EPITA-TP-PROG/B2B-Training/Tests/bin/Debug/net7.0/thisfileexist.txt
- name: "✅ Test"
run: dotnet test