From f5fb1d7b20df8f6421ea897a3d4ada548fad28ba Mon Sep 17 00:00:00 2001 From: Albie Date: Tue, 14 Jul 2020 13:30:45 +0100 Subject: [PATCH] update the readme --- .github/workflows/unit-tests.yaml | 2 +- .../HeaderPreservingHeaderTests.cs | 4 ++-- readme.md | 12 ++++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index cb3cb0b..703a443 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -21,7 +21,7 @@ jobs: dotnet build -c Debug - name: Unit Tests - run: dotnet test -v d + run: dotnet test -v m env: orbit_client_id: ${{ secrets.ORBIT_CLIENT_ID }} orbit_client_secret: ${{ secrets.ORBIT_CLIENT_SECRET }} \ No newline at end of file diff --git a/DragonFruit.Common.Data.Tests/Handlers/AuthPreservingHandler/HeaderPreservingHeaderTests.cs b/DragonFruit.Common.Data.Tests/Handlers/AuthPreservingHandler/HeaderPreservingHeaderTests.cs index e97faeb..83bbb30 100644 --- a/DragonFruit.Common.Data.Tests/Handlers/AuthPreservingHandler/HeaderPreservingHeaderTests.cs +++ b/DragonFruit.Common.Data.Tests/Handlers/AuthPreservingHandler/HeaderPreservingHeaderTests.cs @@ -1,7 +1,7 @@ // DragonFruit.Common Copyright 2020 DragonFruit Network // Licensed under the MIT License. Please refer to the LICENSE file at the root of this project for details -using System.Diagnostics; +using System; using DragonFruit.Common.Data.Tests.Handlers.AuthPreservingHandler.Objects; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -21,7 +21,7 @@ public void TestHeaderPreservation() //for some reason inconclusive assertion returns a fail, so we'll just "pass" this with a nice message for now if (request.ClientSecret == null) { - Debug.WriteLine("Environment Variables not found, skipping test."); + Console.WriteLine("Environment Variables not found, skipping test."); return; } diff --git a/readme.md b/readme.md index 4396a06..756dd77 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,16 @@ # DragonFruit.Common -![CI](https://github.com/dragonfruitnetwork/DragonFruit.Common/workflows/Publish/badge.svg) +![CI Publish](https://github.com/dragonfruitnetwork/DragonFruit.Common/workflows/Publish/badge.svg) +![CI Unit Tests](https://github.com/dragonfruitnetwork/DragonFruit.Common/workflows/Unit%20Tests/badge.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/55343888c7e945b3b7d9d4760309ccb4)](https://www.codacy.com/gh/dragonfruitnetwork/DragonFruit.Common?utm_source=github.com&utm_medium=referral&utm_content=dragonfruitnetwork/DragonFruit.Common&utm_campaign=Badge_Grade) +[![Nuget](https://img.shields.io/nuget/v/DragonFruit.Common.Data)](https://nuget.org/packages/DragonFruit.Common.Data) +[![Nuget Prerelease](https://img.shields.io/nuget/vpre/DragonFruit.Common.Data)](https://nuget.org/packages/DragonFruit.Common.Data) +![Nuget Downloads](https://img.shields.io/nuget/dt/DragonFruit.Common.Data) [![DragonFruit Discord](https://img.shields.io/discord/482528405292843018?label=Discord&style=popout)](https://discord.gg/VA26u5Z) ### Overview -DragonFruit.Common.Data is aimed to reduce code repetition and make common IO-based tasks easier and faster. +DragonFruit.Common is aimed to reduce code repetition and make common IO-based tasks easier and faster. + +### Getting Started + +See the [wiki](https://github.com/dragonfruitnetwork/DragonFruit.Common/wiki) to get started. \ No newline at end of file