aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Fixed GitHub Actions integration tests #296

Closed ltranu20 closed 1 year ago

ltranu20 commented 1 year ago

Fixed integration test runner being stuck and restored the removed MySQL service.

NB! Integration tests are still broken, this only fixes tests not being ran at all on GitHub.

Description

Added xunit.runner.json with unlimited parallel threads to prevent tests getting stuck in a deadlock on a GitHub runner. Restored MySQL service as the integration tests are doing funny stuff to the database.

Fixes #242, https://github.com/aau-giraf/.github/issues/14, https://github.com/aau-giraf/.github/issues/15

Type of change

How Has This Been Tested?

Checked the Github Actions page.

Development Configuration

Checklist: