Skip to content

Commit

Permalink
test: use Github Actions concurrency group
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgloning committed Dec 3, 2023
1 parent 0857e05 commit 9298952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "BrowserStack Test"
on: [push, pull_request]

concurrency:
group: browserstack
jobs:
ubuntu-job:
name: "BrowserStack Test on Ubuntu"
Expand Down
5 changes: 1 addition & 4 deletions e2e/wdio.bstack.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9298952

Please sign in to comment.