From 9298952a6afc4c599c1be139f1c2dd870fa484b1 Mon Sep 17 00:00:00 2001 From: Jonas Gloning <34194370+jonasgloning@users.noreply.github.com> Date: Sun, 3 Dec 2023 21:13:51 +0100 Subject: [PATCH] test: use Github Actions concurrency group https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency --- .github/workflows/browserstack.yml | 3 +++ e2e/wdio.bstack.conf.ts | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index c81acaa96..d6b2c1c88 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -1,5 +1,8 @@ name: "BrowserStack Test" on: [push, pull_request] + +concurrency: + group: browserstack jobs: ubuntu-job: name: "BrowserStack Test on Ubuntu" diff --git a/e2e/wdio.bstack.conf.ts b/e2e/wdio.bstack.conf.ts index 1fa79127d..bd0467c3d 100644 --- a/e2e/wdio.bstack.conf.ts +++ b/e2e/wdio.bstack.conf.ts @@ -3,10 +3,7 @@ import { config as sharedConfig } from "./wdio.shared.conf.js"; export const config: WebdriverIO.Config = { ...sharedConfig, ...{ - /** - * Only allow one instance. We are limited to 5 parallel tests on BrowserStack. - */ - maxInstances: 1, + maxInstances: 5, user: process.env.BROWSERSTACK_USERNAME, key: process.env.BROWSERSTACK_ACCESS_KEY, hostname: "hub.browserstack.com",