mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Restructured folders and project names, ci should be fixed
This commit is contained in:
@@ -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"
|
Reference in New Issue
Block a user