From 5cb74251240275d1774dc1ee2899d3f7862c896b Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Wed, 26 Jan 2022 21:32:15 -0800 Subject: [PATCH] Drone yml changes to include file. --- .drone.yml | 3 +-- AOC2021.Test/AOCTester.cs | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index e30c987..af00103 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,8 +11,7 @@ steps: - name: test image: mcr.microsoft.com/dotnet/sdk:5.0 commands: - - cd AOC2021.Test - - dotnet test + - dotnet test AOC2021.Test - name: build-aoc-2021 image: plugins/docker diff --git a/AOC2021.Test/AOCTester.cs b/AOC2021.Test/AOCTester.cs index 9da224c..c64dd11 100644 --- a/AOC2021.Test/AOCTester.cs +++ b/AOC2021.Test/AOCTester.cs @@ -1,11 +1,8 @@ using AOC2021.Models; using AOC2021.Tests.Models; using System; -using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace AOC2021.Test { @@ -53,6 +50,7 @@ namespace AOC2021.Test day = (AOCDay)(IAOCService)Activator.CreateInstance(x); } } + Console.WriteLine($"Retrieving route for {route}. Found {day}"); return (AOCDay)day; }