Skip to content

Commit 9e325f9

Browse files
authored
chore: allow forks to run local atlas (#711)
1 parent 2d1586a commit 9e325f9

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,18 @@ jobs:
3636
run: npm ci
3737
- name: Run tests
3838
run: npm test
39-
env:
40-
SKIP_ATLAS_TESTS: "true"
41-
SKIP_ATLAS_LOCAL_TESTS: "true"
42-
- name: Upload test results
43-
if: always() && matrix.os == 'ubuntu-latest'
44-
uses: actions/upload-artifact@v5
39+
run-atlas-local-tests:
40+
name: Run Atlas Local tests
41+
if: github.event.pull_request.user.login == 'dependabot[bot]'
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
45+
- uses: actions/checkout@v5
46+
- uses: actions/setup-node@v4
4547
with:
46-
name: test-results
47-
path: coverage/lcov.info
48+
node-version-file: package.json
49+
cache: "npm"
50+
- name: Install dependencies
51+
run: npm ci
52+
- name: Run tests
53+
run: npm test -- tests/integration/tools/atlas-local/

0 commit comments

Comments
 (0)