Skip to content

test(k8s): fix naming + pn error in nightly tests #6168

test(k8s): fix naming + pn error in nightly tests

test(k8s): fix naming + pn error in nightly tests #6168

Workflow file for this run

name: Test and coverage
on:
push:
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run coverage
run: go test -v -timeout=2h -coverprofile=coverage.out -covermode=count ./...
env:
TF_ACC: 1 # It runs the integration test through the cassettes and not with real API calls
TF_TEST_DOMAIN: scaleway-terraform.com
TF_UPDATE_CASSETTES: false
TF_TEST_DOMAIN_ZONE: tf
SCW_ACCESS_KEY: "SCWXXXXXXXXXXXXXFAKE"
SCW_SECRET_KEY: "11111111-1111-1111-1111-111111111111"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4