Skip to content

Commit 94a317c

Browse files
authored
Merge pull request #19 from code4rena-dev/0xsi/new-ci-to-run-full-test-suite
Update CI to run potential integration test suites
2 parents 49b3a23 + 3f7ae6d commit 94a317c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,11 @@ jobs:
5555
run: echo "::add-matcher::.github/matchers/tap.json"
5656
- name: Test
5757
run: npm test --ignore-scripts
58+
- name: Weekly Integration Tests
59+
if: github.event_name == 'schedule'
60+
run: |
61+
if npm run --silent | grep -q "test:integration"; then
62+
npm run test:integration --ignore-scripts
63+
else
64+
echo "No integration tests to run, skipping..."
65+
fi

lib/content/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,11 @@ jobs:
7575
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
7676
<%/env_vault%>
7777
run: npm test --ignore-scripts
78+
- name: Weekly Integration Tests
79+
if: github.event_name == 'schedule'
80+
run: |
81+
if npm run --silent | grep -q "test:integration"; then
82+
npm run test:integration --ignore-scripts
83+
else
84+
echo "No integration tests to run, skipping..."
85+
fi

0 commit comments

Comments
 (0)