Andrea Spadaccini
631b9dfee0
fix: pin Pester to 4.10.1 for compatibility with pwsh 6.0.4 ( #44 )
...
* fix: pin Pester to 4.10.1
This makes tests work under PowerShell 6.0.4.
Also, import the FeatureFlags module first in run-tests.ps1, so that any failures in importing the module are detected early.
* fix: remove BeforeAll/AfterAll
They don't seem to work well with Pester 4.10.1.
2022-07-08 14:11:42 +02:00
Andrea Spadaccini
cc8cab17b2
fix: make Docker tests fail properly ( #42 )
...
fix: make tests fail properly
* terminate run-tests.ps1 on the first error;
* split restore and test commands in Dockerfile.
2022-07-07 21:42:35 +02:00
Andrea Spadaccini
da348aa657
feat(test): docker image and small improvements ( #37 )
...
* add a Docker image to be used to test with multiple pwsh versions;
* improve run-tests.ps1 output;
* remove unnecessary run-tests.ps1 parameter.
2022-07-07 13:58:38 +02:00
Andrea Spadaccini
5f8fa49420
feat: only run on Pester 5.3.3 ( #32 )
...
* feat: only run on Pester 5.3.3
* fix: skip publisher check when installing Pester
This is a legitimate skip, as the publisher between major Pester versions may
change.
* feat: ignore coverage results
2022-07-04 15:46:52 +02:00
Andrea Spadaccini
a88b40aac3
feat: migrate CI to Github Actions ( #27 )
...
Migrate CI from Azure Pipelines to GitHub Actions, point it to the main branch.
2020-12-25 23:15:44 +00:00
Andrea Spadaccini
d6dfbb4b47
Pin Pester version to 4.x
...
Something changed in Pester 5 and this is causing issues in CI.
2020-06-11 18:37:21 +01:00
Andrea Spadaccini
2bbef362a5
Azure Pipelines: upload test results
...
Fixes #9 .
2019-08-02 16:39:16 +01:00
Andrea Spadaccini
1c75b1d14e
Make sure that Pester 4 is present
...
Windows Powershell bundles an old version (3.something) which does not
support the modern Pester syntax.
2019-08-02 15:31:17 +01:00
Andrea Spadaccini
66318951d5
Install Pester only if it's not found
...
Find pester among available modules
2019-08-02 15:31:17 +01:00
Andrea Spadaccini
0f60efef2c
Test CI exclusion
...
Dummy change to README (excluded from CI) and to build.ps1 (not
excluded from CI) to make sure this triggers a CI run.
2019-07-31 10:14:26 +01:00
Andrea Spadaccini
885c8e7258
Add a script to publish to PSGallery
2019-07-30 16:24:09 +01:00
Andrea Spadaccini
3d94cbc62c
Add package name to build directory
...
This is required to make Publish-Module work.
2019-07-30 16:24:03 +01:00
Andrea Spadaccini
238c654d6a
Add a very simple "build" script
2019-07-30 14:29:42 +01:00
Andrea Spadaccini
d8c467a2d7
Move tests and related helper in the test dir
2019-07-29 17:31:07 +01:00
Andrea Spadaccini
1980f43b66
Move tools for ci/cd in the tools directory
2019-07-29 17:26:22 +01:00