mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
Fix watchers amount
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run karma tests
|
name: Run tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -23,8 +23,12 @@ jobs:
|
|||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
- name: Fix watchers amount
|
||||||
|
run: echo fs.inotify.max_user_watches=524288 |
|
||||||
|
sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||||
|
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run karma tests
|
||||||
run: npm run test:unit
|
run: npm run test:unit
|
||||||
|
|||||||
Reference in New Issue
Block a user