Skip to content

Commit

Permalink
ci: fix windows GH actions (#1420)
Browse files Browse the repository at this point in the history
* ci: fix windows GH actions

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>

* chore: don't run windows-test on every pr

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>

---------

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune authored Oct 20, 2023
1 parent 8999a52 commit 69b8170
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/chocolatey-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Publish the Lacework CLI to Chocolatey

on: workflow_dispatch

jobs:
Expand All @@ -13,7 +11,7 @@ jobs:
fetch-depth: 0

- name: Running integration tests
container: lacework/win-golang:1.18-20h2
image: lacework/win-golang:1.18-20h2
shell: pwsh
run: |
# install chocolatey
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/windows-integration.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Run integration tests for the Lacework CLI on Windows

on:
push:
branches:
Expand All @@ -23,6 +21,14 @@ jobs:

- name: Running integration tests
shell: pwsh
env:
CI_ACCOUNT: ${{ secrets.CI_ACCOUNT }}
CI_SUBACCOUNT: ${{ secrets.CI_SUBACCOUNT }}
CI_API_KEY: ${{ secrets.CI_API_KEY }}
CI_API_SECRET: ${{ secrets.CI_API_SECRET }}
HONEYAPIKEY: ${{ secrets.HONEY_DEV_KEY }}
HONEYDATASET: ${{ secrets.HONEYDATASET }}
LW_INT_TEST_AWS_ACC: ${{ secrets.LW_INT_TEST_AWS_ACC }}
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force
./scripts/codefresh.ps1
Expand Down

0 comments on commit 69b8170

Please sign in to comment.