Restructured folders and project names, ci should be fixed

This commit is contained in:
Kwoth
2021-06-17 23:40:48 +02:00
parent 7aca29ae8a
commit 91ecf9ca41
788 changed files with 204 additions and 146 deletions

View File

@@ -1,12 +1,12 @@
# taken from https://gitlab.com/forrestab/dotnet-gitlab-ci/blob/master/.gitlab-ci.yml
image: mcr.microsoft.com/dotnet/core/sdk:3.1
image: mcr.microsoft.com/dotnet/sdk:5.0
stages:
- build
# - test
- test
variables:
project: "NadekoBot"
tests: "Nadeko.Tests"
before_script:
- "dotnet restore"
@@ -19,11 +19,10 @@ build:
- "cd $build_path"
- "dotnet build -c Release"
# test:
# image: mcr.microsoft.com/dotnet/core/sdk:2.1
# stage: test
# variables:
# tests_path: "Nadeko.Tests"
# script:
# - "cd $tests_path"
# - "dotnet test"
test:
stage: test
variables:
tests_path: "src/$tests"
script:
- "cd $tests_path"
- "dotnet test"