Louis 0d06576f8b
Some checks failed
Tests / Unit Testing1 (push) Failing after 40s
ci: 👷 Change CI to add test files
2023-11-02 19:48:23 +01:00

25 lines
720 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: |
mkdir -p Tests/bin/Debug/net7.0
echo "incredible file" > thisfileexist.txt
- name: "✅ Test"
run: dotnet test