Skip to content

Commit 1f0e619

Browse files
committed
chore: allow forks to run local atlas
1 parent 01f799c commit 1f0e619

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,24 @@ jobs:
4141
with:
4242
name: test-results
4343
path: coverage/lcov.info
44+
run-atlas-local-tests:
45+
name: Run Atlas Local tests
46+
if: github.event.pull_request.user.login == 'dependabot[bot]'
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
50+
- uses: actions/checkout@v5
51+
- uses: actions/setup-node@v4
52+
with:
53+
node-version-file: package.json
54+
cache: "npm"
55+
- name: Install dependencies
56+
run: npm ci
57+
- name: Run tests
58+
run: npm test -- tests/integration/tools/atlas-local/
59+
- name: Upload test results
60+
uses: actions/upload-artifact@v4
61+
if: always()
62+
with:
63+
name: atlas-local-test-results
64+
path: coverage/lcov.info

0 commit comments

Comments
 (0)