set the TIMESCALE_FACTOR for integration tests on CircleCI and GitHub Actions

This commit is contained in:
Marten Seemann
2021-03-04 10:45:27 +08:00
parent 543d144690
commit 048543bd50
2 changed files with 5 additions and 1 deletions

View File

@@ -5,11 +5,13 @@ executors:
- image: "circleci/golang:1.15" - image: "circleci/golang:1.15"
environment: environment:
runrace: true runrace: true
TIMESCALE_FACTOR: 3
test-go116: test-go116:
docker: docker:
- image: "circleci/golang:1.16" - image: "circleci/golang:1.16"
environment: environment:
runrace: true runrace: true
TIMESCALE_FACTOR: 3
jobs: jobs:
"test": &test "test": &test

View File

@@ -1,12 +1,14 @@
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
unit: integration:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: [ "1.15.x", "1.16.x" ] go: [ "1.15.x", "1.16.x" ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
TIMESCALE_FACTOR: 3
name: Integration Tests (Go ${{ matrix.go }}) name: Integration Tests (Go ${{ matrix.go }})
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2