Skip to content

Commit

Permalink
ci(test): add basic test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed Dec 6, 2024
1 parent c9f1848 commit c054899
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Release Please"
name: "Release"

on:
push:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Test"

on:
push:
branches:
- '**'

jobs:
test:
runs-on: ubuntu-latest
env:
PAGERDUTY_SERVICE_REGION: ${{ env.PAGERDUTY_SERVICE_REGION }}
PAGERDUTY_TOKEN: ${{ secrets.PAGERDUTY_TOKEN }}
PAGERDUTY_USER_TOKEN: ${{ secrets.PAGERDUTY_TOKEN }}
steps:
- uses: actions/checkout@v4

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.7.0"

- run: terraform fmt -check

- run: terraform init

- run: terraform test

0 comments on commit c054899

Please sign in to comment.