Skip to content

Commit 6034045

Browse files
committed
Added env vars to test job
1 parent d484607 commit 6034045

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/win-pr-build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
fetch-depth: 0
2222
- name: Build
2323
run: |
24-
New-Item -ItemType Directory -Name terraform.d -Path $env:APPDATA
25-
$env:HOME=$env:APPDATA
26-
$env:TC_CONFIG_PATH=$env:APPDATA
2724
go build .
2825
- name: Test
2926
run: |
27+
New-Item -ItemType Directory -Name terraform.d -Path $env:APPDATA | Out-Null
28+
$env:HOME=$env:APPDATA
29+
$env:TC_CONFIG_PATH=$env:APPDATA
3030
$env:PATH += ";$pwd"
3131
cd cmd
3232
go test -v -cover

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![terracreds-pr-tests](https://github.com/tonedefdev/terracreds/actions/workflows/pr-tests.yml/badge.svg)](https://github.com/tonedefdev/terracreds/actions/workflows/pr-tests.yml)
1+
[![macOS Build](https://github.com/tonedefdev/terracreds/actions/workflows/macos-pr-build-test.yml/badge.svg?branch=hotfix)](https://github.com/tonedefdev/terracreds/actions/workflows/macos-pr-build-test.yml) [![Windows Build](https://github.com/tonedefdev/terracreds/actions/workflows/win-pr-build-test.yml/badge.svg?branch=hotfix)](https://github.com/tonedefdev/terracreds/actions/workflows/win-pr-build-test.yml)
22

33
<img src="./img/terracreds.png" align="right" width="350" height="350">
44

0 commit comments

Comments
 (0)