mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
add 5 minute timeout to CI, added note in config
- added note in config to use enable_offline_queue to avoid timeouts - removed wait action from CI
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -14,4 +14,5 @@ jobs:
|
||||
- run: npm install
|
||||
|
||||
- name: Run Tests
|
||||
timeout-minutes: 5
|
||||
run: npm test
|
||||
|
||||
7
.github/workflows/postgres-ci.yml
vendored
7
.github/workflows/postgres-ci.yml
vendored
@@ -14,15 +14,12 @@ jobs:
|
||||
PG_USER: ci_db_user
|
||||
PG_PASS: ci_db_pass
|
||||
run: docker-compose -f docker/docker-compose-ci.yml up -d
|
||||
- name: Sleep
|
||||
uses: jakejarvis/wait-action@master
|
||||
with:
|
||||
time: '10s'
|
||||
- name: Check running containers
|
||||
run: docker ps
|
||||
- uses: actions/setup-node@v1
|
||||
- run: npm install
|
||||
- name: Run test suite
|
||||
- name: Run Tests
|
||||
env:
|
||||
TEST_POSTGRES: true
|
||||
timeout-minutes: 5
|
||||
run: npm test
|
||||
Reference in New Issue
Block a user