Try Windows

This commit is contained in:
Nathan Bierema 2021-06-19 17:50:16 -04:00
parent d1ab14c74e
commit bbb57ed401
4 changed files with 5 additions and 17 deletions

View File

@ -8,14 +8,10 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: yarn install --immutable - run: yarn install --immutable
- run: yarn prettier:check
- run: yarn build:all - run: yarn build:all
- run: yarn lint:all - run: yarn test:all
- uses: GabrielBB/xvfb-action@v1
with:
run: yarn test:all

View File

@ -1,4 +1,4 @@
module.exports = { module.exports = {
setupFilesAfterEnv: ['<rootDir>/test/setup.js'], setupFilesAfterEnv: ['<rootDir>/test/setup.js'],
testPathIgnorePatterns: ['<rootDir>/examples', '<rootDir>/test/chrome'], testPathIgnorePatterns: ['<rootDir>/examples'],
}; };

View File

@ -17,11 +17,7 @@ describe('Chrome extension', function () {
.usingServer(`http://localhost:${port}`) .usingServer(`http://localhost:${port}`)
.withCapabilities({ .withCapabilities({
chromeOptions: { chromeOptions: {
args: [ args: [`load-extension=${path}`],
'--no-sandbox',
'--disable-dev-shm-usage',
`load-extension=${path}`,
],
}, },
}) })
.forBrowser('chrome') .forBrowser('chrome')

View File

@ -17,11 +17,7 @@ describe('DevTools panel for Electron', function () {
.withCapabilities({ .withCapabilities({
chromeOptions: { chromeOptions: {
binary: electronPath, binary: electronPath,
args: [ args: [`app=${join(__dirname, 'fixture')}`],
'--no-sandbox',
'--disable-dev-shm-usage',
`app=${join(__dirname, 'fixture')}`,
],
}, },
}) })
.forBrowser('electron') .forBrowser('electron')