SceneGate / Ekona

.NET implementation of DS and DSi file formats
https://scenegate.github.io/Ekona/
MIT License
28 stars 1 forks source link

:wrench: Download test resources and run tests in CI #26

Closed pleonex closed 2 years ago

pleonex commented 2 years ago

Description

Add pre-step in build system to download the test resources from a secret variable. The pipeline will cache this directory.

Example

To download the test resources use the argument --resource-uri:

dotnet cake --resource-uri http://...

To invalidate the cache after changing one of the resources, update the variable RESOURCES_VERSION in the pipeline definition. It's recommendable to create new secret variables to avoid breaking the CI of previous releases.