Skip to content

Commit

Permalink
fix: ginko_test format and condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gaukas committed Aug 5, 2023
1 parent f2493a2 commit 2519cd7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ginkgo_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

name: "Ginkgo Unit Tests"

on: [push, pull_request]
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
Expand Down Expand Up @@ -32,7 +36,7 @@ jobs:
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -coverprofile coverage.txt -output-dir . -randomize-all -randomize-suites -trace -skip-package integrationtests

- name: Run tests with race detector
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
env:
TIMESCALE_FACTOR: 20
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -race -randomize-all -randomize-suites -trace -skip-package integrationtests
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
env:
TIMESCALE_FACTOR: 20
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -race -randomize-all -randomize-suites -trace -skip-package integrationtests

0 comments on commit 2519cd7

Please sign in to comment.