Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Umar committed Dec 30, 2023
1 parent 262e934 commit 557420d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/pr-check.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Run Relevant Checks

on: [push]

jobs:
acceptance:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: '1.6.*'
terraform_wrapper: false
- run: make tools
- run: make acctests
env:
TF_ACC: '1'
TESTARGS: '-parallel=1 -run=TestAccContainerAppEnvironment_'
SERVICE: 'containerapps'
TESTTIMEOUT: '60m'
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_TEST_LOCATION: ${{ secrets.ARM_TEST_LOCATION }}
ARM_TEST_LOCATION_ALT: ${{ secrets.ARM_TEST_LOCATION_ALT }}
ARM_TEST_LOCATION_ALT2: ${{ secrets.ARM_TEST_LOCATION_ALT2 }}
pr-check:
name: PR checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: make tools
- run: make pr-check
- run: git status

0 comments on commit 557420d

Please sign in to comment.