Skip to content

Commit

Permalink
fix(ci): WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Oct 4, 2023
1 parent 9624702 commit 60456f8
Showing 1 changed file with 149 additions and 146 deletions.
295 changes: 149 additions & 146 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,155 +28,155 @@ jobs:
az --version
# Store Type Tests
Test_Stores_KFC_11_0_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1100"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_Stores*"

Test_StoreTypes_KFC_10_4_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1040-clean"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_StoreType*"
Test_StoreTypes_KFC_10_2_1:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1021-clean"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_StoreType*"
# Test_Stores_KFC_11_0_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1100"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_Stores*"
#
# Test_StoreTypes_KFC_10_4_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1040-clean"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_StoreType*"
# Test_StoreTypes_KFC_10_2_1:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1021-clean"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_StoreType*"

# Store Tests
Test_StoreTypes_KFC_11_0_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1100-clean"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_StoreType*"
Test_Stores_KFC_10_4_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1040"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_Stores*"
Test_Stores_KFC_10_2_1:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1021"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_Stores*"
# Test_StoreTypes_KFC_11_0_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1100-clean"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_StoreType*"
# Test_Stores_KFC_10_4_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1040"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_Stores*"
# Test_Stores_KFC_10_2_1:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1021"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_Stores*"

# PAM Tests
Test_PAM_KFC_11_0_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1100"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_PAM*"
Test_PAM_KFC_10_4_0:
runs-on: self-hosted
needs: build
env:
SECRET_NAME: "command-config-1040"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: list dir
run: ls -la

- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_PAM*"
# Test_PAM_KFC_11_0_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1100"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_PAM*"
# Test_PAM_KFC_10_4_0:
# runs-on: self-hosted
# needs: build
# env:
# SECRET_NAME: "command-config-1040"
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: list dir
# run: ls -la
#
# - name: Get secret from Azure Key Vault
# run: |
# . ./examples/auth/akv/akv_auth.sh
#
# - name: Run tests
# run: go test -v ./cmd -run "^Test_PAM*"
Test_PAM_KFC_10_2_1:
runs-on: self-hosted
needs: build
Expand All @@ -194,4 +194,7 @@ jobs:
. ./examples/auth/akv/akv_auth.sh
- name: Run tests
run: go test -v ./cmd -run "^Test_PAM*"
run: |
ls -la
ls -la artifacts/pam
go test -v ./cmd -run "^Test_PAM*"

0 comments on commit 60456f8

Please sign in to comment.