Skip to content

Integration Tests

Integration Tests #1

Workflow file for this run

name: Integration Tests
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '**.yaml'
env:
API_TOKEN: ${{ secrets.API_TOKEN }}
PLATFORM_URL: ${{ secrets.PLATFORM_URL }}
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
EXTERNAL_TOKEN: ${{ secrets.EXTERNAL_TOKEN }}
DOCKER_NON_INTERACTIVE: true
LOG_LEVEL: info
jobs:
walkthrough:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up Go
uses: actions/setup-go@v5
with:
go-version-file: tests/go.mod
cache-dependency-path: tests/go.sum
- name: run tests
working-directory: tests
run: make test-walkthrough
apigateway:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up Go
uses: actions/setup-go@v5
with:
go-version-file: tests/go.mod
cache-dependency-path: tests/go.sum
- name: run tests
working-directory: tests
run: make test-apigw
apimanagement:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up Go
uses: actions/setup-go@v5
with:
go-version-file: tests/go.mod
cache-dependency-path: tests/go.sum
- name: run tests
working-directory: tests
run: make test-apim