From e1193e29bbe75e5cac23eef5623b42d5acda2461 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Fri, 14 Apr 2023 09:56:09 +0900 Subject: [PATCH] ci: merge integration test to test --- .github/workflows/test.yaml | 5 ----- .github/workflows/wc-integration-test.yaml | 21 --------------------- .github/workflows/wc-test.yaml | 4 ++++ 3 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/wc-integration-test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 60339975..8161b121 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -68,7 +68,6 @@ jobs: - update-aqua-checksums - ghalint - test - - integration-test - go-mod-tidy renovate-config-validator: @@ -108,7 +107,3 @@ jobs: gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}} permissions: contents: read - - integration-test: - uses: ./.github/workflows/wc-integration-test.yaml - permissions: {} diff --git a/.github/workflows/wc-integration-test.yaml b/.github/workflows/wc-integration-test.yaml deleted file mode 100644 index 92be02e0..00000000 --- a/.github/workflows/wc-integration-test.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: integration-test -on: workflow_call -jobs: - integration-test: - runs-on: ubuntu-latest - permissions: {} - env: - GITHUB_TOKEN: ${{github.token}} - AQUA_LOG_LEVEL: debug - AQUA_LOG_COLOR: always - steps: - - uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 - with: - go-version: 1.20.3 - cache: true - - - run: go install ./cmd/pinact - - run: pinact -v - - run: pinact run testdata/foo.yaml diff --git a/.github/workflows/wc-test.yaml b/.github/workflows/wc-test.yaml index 0c9205d4..c01e5fdd 100644 --- a/.github/workflows/wc-test.yaml +++ b/.github/workflows/wc-test.yaml @@ -22,3 +22,7 @@ jobs: env: AQUA_GITHUB_TOKEN: ${{github.token}} - run: go test -v ./... -race -covermode=atomic + - run: go install ./cmd/pinact + - run: pinact -v + - run: pinact run testdata/foo.yaml + - run: git diff