Skip to content

Commit

Permalink
Add predefining of PROJECT_BASE_DIR env var
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed Sep 24, 2023
1 parent 3ee4bdf commit 21da976
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
run: |
powershell -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
shell: bash
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
powershell -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
##########
Expand All @@ -37,6 +39,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-6-1:
Expand All @@ -50,6 +53,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-6-2:
Expand All @@ -63,6 +67,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-7-0:
Expand All @@ -76,6 +81,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-7-1:
Expand All @@ -89,6 +95,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-7-2:
Expand All @@ -102,6 +109,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-7-3:
Expand All @@ -115,6 +123,7 @@ jobs:
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
export PROJECT_BASE_DIR=$( cd test/Mock-Module && pwd )
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
update-draft-release:
Expand Down

0 comments on commit 21da976

Please sign in to comment.