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:
build:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: yarn install --immutable
- run: yarn prettier:check
- run: yarn build:all
- run: yarn lint:all
- uses: GabrielBB/xvfb-action@v1
with:
run: yarn test:all
- run: yarn test:all

View File

@ -1,4 +1,4 @@
module.exports = {
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}`)
.withCapabilities({
chromeOptions: {
args: [
'--no-sandbox',
'--disable-dev-shm-usage',
`load-extension=${path}`,
],
args: [`load-extension=${path}`],
},
})
.forBrowser('chrome')

View File

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