Skip to content

Commit 509dacd

Browse files
Ajustes para o teste que está dando erro em tempo de build
1 parent 58c316b commit 509dacd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515

1616
- name: Run Pester tests
1717
shell: pwsh
18-
run: Invoke-Pester -CI
18+
run: |
19+
Import-Module "$PWD\NicolasAigner.SystemToolkit.psd1" -Force
20+
Invoke-Pester -CI
1921
2022
- name: Publish module
2123
shell: pwsh

Tests/Export-EnvBackup.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Import-Module "$PSScriptRoot\..\NicolasAigner.SystemToolkit.psd1" -Force
12

23
Describe 'Export-EnvBackup' {
34
It 'Gera pasta e arquivos' {

0 commit comments

Comments
 (0)