From 3c4b07360f4a48448177317efb6244d403fb0cfe Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Thu, 24 Oct 2024 11:20:49 +0200 Subject: [PATCH] ci: run test in loop --- .github/workflows/test.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15e1c0673..995b6b0d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,34 +56,10 @@ jobs: host port: 3800 mysql version: "8" mysql root password: test - - name: Test Stores - uses: n8maninger/action-golang-test@v1 - with: - args: "-race;-short;-tags=netgo" - - name: Test Stores - MySQL - if: matrix.os == 'ubuntu-latest' - uses: n8maninger/action-golang-test@v1 - env: - RENTERD_DB_URI: 127.0.0.1:3800 - RENTERD_DB_USER: root - RENTERD_DB_PASSWORD: test - with: - package: "./stores" - args: "-race;-short;-tags=netgo" - name: Test Integration uses: n8maninger/action-golang-test@v1 with: package: "./internal/test/e2e/..." - args: "-failfast;-race;-timeout=60m;-tags=netgo" - - name: Test Integration - MySQL - if: matrix.os == 'ubuntu-latest' - uses: n8maninger/action-golang-test@v1 - env: - RENTERD_DB_URI: 127.0.0.1:3800 - RENTERD_DB_USER: root - RENTERD_DB_PASSWORD: test - with: - package: "./internal/test/e2e/..." - args: "-failfast;-race;-timeout=60m;-tags=netgo" + args: "-failfast;-race;-timeout=60m;-tags=netgo;-run=TestEphemeralAccountSync$;-count=50" - name: Build run: go build -o bin/ -tags='netgo timetzdata' ./cmd/renterd