Skip to content

refactor(config): separate source loading from resolution #133

refactor(config): separate source loading from resolution

refactor(config): separate source loading from resolution #133

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
jobs:
test-e2e-without-api:
name: Run E2E (Testscript) Tests / Without API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build binary
run: make build
- name: Run E2E (Testscript) Tests / Without API
run: |
cd tests/e2e
go test -v
test-e2e-with-api:
name: Run E2E (Testscript) Tests / With API / ${{ matrix.suite }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite: [compute, dbaas]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build binary
run: make build
- name: Run E2E (Testscript) Tests / With API / ${{ matrix.suite }}
env:
EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }}
EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }}
EXOSCALE_ZONE: ch-gva-2
run: |
cd tests/e2e
suite=${{ matrix.suite }}
func="TestScriptsAPI${suite^}"
go test -v -tags=api -timeout 30m -run "$func" 2>&1