Skip to content

Commit

Permalink
include Authlete 3.0 on the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcreado committed Dec 18, 2024
1 parent 05cdf14 commit 8d8fa7c
Showing 1 changed file with 19 additions and 27 deletions.
46 changes: 19 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
id: go

- name: Check out code into the Go module directory
Expand Down Expand Up @@ -65,12 +65,14 @@ jobs:
- '1.6.*'
- '1.7.*'
- '1.8.*'
- '1.9.*'
- '1.10.*'
steps:

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
id: go

- uses: hashicorp/setup-terraform@v3
Expand All @@ -96,28 +98,18 @@ jobs:
run: |
go test -v -cover ./internal/provider/
# - name: TF acceptance tests - fapi_dev
# timeout-minutes: 10
# env:
# TF_ACC: "1"
# AUTHLETE_API_SERVER: ${{ secrets.AUTHLETE_FAPI_DEV_API_SERVER }}
# AUTHLETE_SO_KEY: ${{ secrets.AUTHLETE_FAPI_DEV_SO_KEY }}
# AUTHLETE_SO_SECRET: ${{ secrets.AUTHLETE_FAPI_DEV_SO_SECRET }}
# TC_ACC_AUTHLETE_VERSION: "2.3"
# run: |
# go test -v -cover ./internal/provider/
#
# - name: TF acceptance tests - nextdev
# timeout-minutes: 10
# env:
# TF_ACC: "1"
# AUTHLETE_API_SERVER: ${{ secrets.AUTHLETE_NEXTDEV_API_SERVER }}
# AUTHLETE_IDP_SERVER: ${{ secrets.AUTHLETE_IDP_SERVER }}
# AUTHLETE_SO_KEY: ${{ secrets.AUTHLETE_NEXTDEV_SO_KEY }}
# AUTHLETE_SO_SECRET: ${{ secrets.IDP_ORG_TOKEN }}
# TC_ACC_AUTHLETE_VERSION: "3.0"
# AUTHLETE_API_VERSION: "3.0"
# AUTHLETE_API_SERVER_ID: ${{ secrets.AUTHLETE_API_SERVER_ID }}
# AUTHLETE_ORGANIZATION_ID: ${{ secrets.AUTHLETE_ORGANIZATION_ID }}
# run: |
# go test -v -cover ./internal/provider/
- name: TF acceptance tests - nextdev
timeout-minutes: 10
env:
TF_ACC: "1"
AUTHLETE_API_SERVER: ${{ secrets.AUTHLETE_NEXTDEV_API_SERVER }}
AUTHLETE_IDP_SERVER: ${{ secrets.AUTHLETE_IDP_SERVER }}
AUTHLETE_SO_KEY: ${{ secrets.AUTHLETE_NEXTDEV_SO_KEY }}
AUTHLETE_SO_SECRET: ${{ secrets.IDP_ORG_TOKEN }}
TC_ACC_AUTHLETE_VERSION: "3.0"
AUTHLETE_API_VERSION: "3.0"
AUTHLETE_API_SERVER_ID: ${{ secrets.AUTHLETE_API_SERVER_ID }}
AUTHLETE_ORGANIZATION_ID: ${{ secrets.AUTHLETE_ORGANIZATION_ID }}
run: |
go test -v -cover ./internal/provider/

0 comments on commit 8d8fa7c

Please sign in to comment.