Running CI tests- part 5

Now I want that every time I commit the project , the tests should be run. I do not want all the test, but just the ones without external dependencies.

For that , I decorate with

[Trait(“External”, “0”)]


[Trait(“External”, “1”)]

the ones that are using just local resources, respectively the internet.

I modify the dotnetcore.yml from Github to run the test by adding

– name: run tests

run: dotnet test –filter “External=0” InfoValutar/InfovalutarTest/InfovalutarTest.csproj

( be aware that VS does not work well with Github actions – I made from Github desktop)

( encounter an error because Data vs data  – Linux is case sensitive –  Windows is spoiling me)

Trying now to find how to put an issue automatically when something is wrong

Found  – good to have. No work from the first try. Modifying the yml to support more. Does not work, no matter what I do… Remains in the project- maybe latter.

Not found anything  similar. Thinking better , this is something that should be at the Action / Job level, not adding specific step. Searching at Settings / Actions, Settings / Notifications – nothing.

Searching the documentation – nothing ( GitHub actions still in beta) . However, found something interesting ; any action has artifacts.

Good . But time is up….

And one hour passes...

(This is the result of 1 hour per day auto-challenge as a full cycle developer for an exchange rates application)
2Reading NBR from internet
3Source control and build
4Badge and test
5CI and action
6Artifacts and dotnet try
7Docker with .NET Try
9Intermezzo - Various implementations for programmers
10Intermezzo - similar code - options
11Plugin implementation
12GUI for console
14Plugin in .NET Core 3
15Build and Versioning
16Add swagger
17Docker - first part
18Docker - second part
19Docker - build Azure