Skip to content

Commit 89644e5

Browse files
Merge pull request #141 from splitio/misc
Misc
2 parents 883f021 + 27ae83e commit 89644e5

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ permissions:
1919
jobs:
2020
build:
2121
name: Build
22-
# @TODO rollback to ubuntu-latest eventually. ATM, `npm run test-browser` fails when using ubuntu-latest (ubuntu-22.04) with "ERROR [launcher]: Cannot start ChromeHeadless"
23-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-latest
2423
steps:
2524
- name: Checkout code
2625
uses: actions/checkout@v4
@@ -56,7 +55,7 @@ jobs:
5655

5756
upload-stage:
5857
name: Upload assets
59-
runs-on: ubuntu-20.04
58+
runs-on: ubuntu-latest
6059
needs: build
6160
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
6261
strategy:
@@ -99,7 +98,7 @@ jobs:
9998

10099
upload-prod:
101100
name: Upload assets
102-
runs-on: ubuntu-20.04
101+
runs-on: ubuntu-latest
103102
needs: build
104103
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
105104
strategy:

.github/workflows/sonar-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414
name: Build
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4

.github/workflows/update-license-year.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Split has built and maintains SDKs for:
6464
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
6565
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
6666
* Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities)
67+
* Elixir thin-client [Github](https://github.com/splitio/elixir-thin-client) [Docs](https://help.split.io/hc/en-us/articles/26988707417869-Elixir-Thin-Client-SDK)
6768
* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin)
6869
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
6970
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)

karma/config.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,15 @@ module.exports = {
2424
'tap'
2525
],
2626

27-
// Run on Chrome Headless. Use 'Chrome' instead to run on full browser for debugging
28-
browsers: [
29-
'ChromeHeadless'
30-
],
27+
// Run on Chrome Headless
28+
customLaunchers: {
29+
ChromeHeadlessNoSandbox: {
30+
base: 'ChromeHeadless',
31+
// Flags required to run in ubuntu-22.04 or above (https://chromium.googlesource.com/chromium/src/+/master/docs/linux/suid_sandbox_development.md)
32+
flags: ['--no-sandbox', '--disable-setuid-sandbox']
33+
}
34+
},
35+
browsers: ['ChromeHeadlessNoSandbox'],
3136

3237
// Continuous Integration mode
3338
// if true, it capture browsers, run tests and exit. Set false for debugging

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)