mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +03:00
chore(extension): test in CI (#749)
* chore(extension): test in CI * On Windows * Use working-directory * Increase timeout * Try waiting 2 seconds * Or 5 * Keep other parts of CI * Add more to gitattributes * Expand * No yaml * Long
This commit is contained in:
parent
9d7aa4b62f
commit
79e2d5298d
5
.gitattributes
vendored
5
.gitattributes
vendored
|
@ -6,3 +6,8 @@
|
|||
*.css text eol=lf
|
||||
*.html text eol=lf
|
||||
*.md text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.graphql text eol=lf
|
||||
.eslintrc text eol=lf
|
||||
.prettierrc text eol=lf
|
||||
.babelrc text eol=lf
|
||||
|
|
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -17,3 +17,7 @@ jobs:
|
|||
- run: yarn build:all
|
||||
- run: yarn lint:all
|
||||
- run: yarn test:all
|
||||
- working-directory: ./extension
|
||||
run: yarn install --immutable
|
||||
- working-directory: ./extension
|
||||
run: yarn test
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module.exports = {
|
||||
setupFiles: ['<rootDir>/test/setup.js'],
|
||||
setupFilesAfterEnv: ['<rootDir>/test/setup.js'],
|
||||
};
|
||||
|
|
|
@ -4,3 +4,5 @@ import Enzyme from 'enzyme';
|
|||
import Adapter from 'enzyme-adapter-react-15.4';
|
||||
|
||||
Enzyme.configure({ adapter: new Adapter() });
|
||||
|
||||
jest.setTimeout(50000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user