Skip to content

Commit

Permalink
Merge pull request #24 from ravager-dk:Add-PR-test-workflows
Browse files Browse the repository at this point in the history
Moved tests into PR workflows.
  • Loading branch information
ravager-dk authored Mar 19, 2024
2 parents 580e028 + 5dca632 commit 816011c
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 62 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/Citrix-Enterprise-Browser-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Citrix Enterprise Browser test
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'Citrix-Enterprise-Browser/**'

jobs:
Test-CEB-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Citrix-Enterprise-Browser/Citrix-Enterprise-Browser.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install citrix-enterprise-browser -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
12 changes: 0 additions & 12 deletions .github/workflows/Citrix-Enterprise-Browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ on:
- 'Citrix-Enterprise-Browser/**'

jobs:
Test-CEB-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Citrix-Enterprise-Browser/Citrix-Enterprise-Browser.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install citrix-enterprise-browser -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
Publish-CEB-Package:
runs-on: windows-latest
needs: Test-CEB-Package
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/opentofu-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: opentofu test
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'opentofu.portable/**'

jobs:
Test-opentofu-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack opentofu.portable/opentofu.portable.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install opentofu.portable -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
- name: 🚨 Test opentofu
run: tofu version
14 changes: 0 additions & 14 deletions .github/workflows/opentofu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,8 @@ on:
- 'opentofu.portable/**'

jobs:
Test-opentofu-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack opentofu.portable/opentofu.portable.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install opentofu.portable -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
- name: 🚨 Test opentofu
run: tofu version
Publish-opentofu-Package:
runs-on: windows-latest
needs: Test-opentofu-Package
steps:
- run: echo 'The triggering workflow passed'
- name: Check out repository code
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/sharefile-for-windows-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: sharefile-for-windows test
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'ShareFile-For-Windows/**'

jobs:
Test-sharefile-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack ShareFile-For-Windows/ShareFile-For-Windows.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install sharefile-for-windows -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
12 changes: 0 additions & 12 deletions .github/workflows/sharefile-for-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ on:
- 'ShareFile-For-Windows/**'

jobs:
Test-sharefile-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack ShareFile-For-Windows/ShareFile-For-Windows.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install sharefile-for-windows -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
Publish-sharefile-Package:
runs-on: windows-latest
needs: Test-sharefile-Package
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/zoom-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Zoom VDI plugin test
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'Zoom-VDI-Universal-Plugin/**'

jobs:
Test-zoom-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Zoom-VDI-Universal-Plugin/zoom-vdi-universal-plugin.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install zoom-vdi-universal-plugin -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
12 changes: 0 additions & 12 deletions .github/workflows/zoom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ on:
- 'Zoom-VDI-Universal-Plugin/**'

jobs:
Test-zoom-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Zoom-VDI-Universal-Plugin/zoom-vdi-universal-plugin.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install zoom-vdi-universal-plugin -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
Publish-zoom-Package:
runs-on: windows-latest
needs: Test-zoom-Package
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/zoomVDIClient-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Zoom VDI client test
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'Zoom-VDI-Client/**'

jobs:
Test-zoom-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Zoom-VDI-Client/zoom-vdi-client.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install zoom-vdi-client -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
12 changes: 0 additions & 12 deletions .github/workflows/zoomVDIClient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ on:
- 'Zoom-VDI-Client/**'

jobs:
Test-zoom-Package:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: 🦺 Install validation extension
run: choco install chocolatey-community-validation.extension -y
- name: 📦 Pack Chocolatey Package
run: choco pack Zoom-VDI-Client/zoom-vdi-client.nuspec
- name: 🚀 Install Chocolatey Package
run: choco install zoom-vdi-client -y --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
Publish-zoom-Package:
runs-on: windows-latest
needs: Test-zoom-Package
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down

0 comments on commit 816011c

Please sign in to comment.