mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-01 18:31:55 +00:00
Add ci-resilience lock acquisition test suite
This commit is contained in:
1 parent
dd95661fc1
commit
6259f7f2f5
3 files changed
+257
-1
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: ci-resilience-nightly
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '20 3 * * *'
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'src/lock-ops.mjs'
|
||||
- 'test/lock-acquisition-resilience.integration.test.mjs'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- '.github/workflows/ci-resilience-nightly.yml'
|
||||
|
||||
jobs:
|
||||
ci-resilience:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run resilience lock acquisition suite
|
||||
run: npm run test:ci-resilience
|
||||
Reference in new issue
Block a user