FoogRL - GitHub Build Actions - .NET Winforms
No real content progress this week which is a slight bummer but I wanted to spend a little time addressing a bit of a long-term issue, that I just keep forgetting to run the unit tests before committing new features into branches or PR into main.
So I decided to finally set-up some GitHub actions to build the project and run unit tests after every merge.
.NET Core vs .NET 4.8
All the default actions for GitHub for .NET assume the project is .NET Core which obviously makes sense but for me was a little issue because my game is .NET 4.8 and I didn’t really have the stomach to upgrade to .NET Core just for this issue.
The main issue for me with the default .NET Core actions is the use of dotnet test
:
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
Can’t use that for .NET 4.8 so had to figure out an alternative to that which turns out is vstest.console
. Borrowing from the approach here: https://github.com/marketplace/actions/setup-vstest-console-exe :
# Execute all unit tests in the solution
- name: Execute unit tests
run: vstest.console.exe /InIsolation FoogRL.Test\FoogRL.Test\bin\Release\FoogRL.Test.dll
Wasn’t just as simple as that because also has to include a step in the pipeline to set-up vstest.console
:
- name: Setup VSTest.console.exe
uses: darenm/Setup-VSTest@v1
So yeah, not a very exciting week I suppose but a very important feature to have, especially once I release a version out in the wilds, really need a consistent, robust way to build the app.
Remaining items for beta v0.6
Also moved a few features out of the Beta release and into future releases
- Enhancements: 11
- Bugs: 27
Foog and the Scarpeners
Command a party of dead souls. Complete the 7 trials of Foog, the dark God of chaos.
Status | In development |
Author | ForkandBeard |
Genre | Role Playing |
Tags | Roguelike, squad-based, Turn-based |
More posts
- FoogRL - New enemy: 🔮Fairy Boss 👸Aug 08, 2021
- FoogRL - Final Pass on 🥳 Party Select UI 🥳Jul 31, 2021
- FoogRL - Mighty Morphing Player CharacterJul 18, 2021
- FoogRL - Trial 5 - Done 😺Jul 10, 2021
- FoogRL - New enemy: 🐸FROGS 🐸Jul 04, 2021
- FoogRL - New enemy: Prockle WitchJun 26, 2021
- FoogRL - New enemy: a fairy-summoning uber fairyJun 12, 2021
- FoogRL - Devlog kick-offJun 06, 2021
Leave a comment
Log in with itch.io to leave a comment.