Skip to content

Commit 2d1f6d0

Browse files
committed
fetch tests from fork
1 parent 2a8e1aa commit 2d1f6d0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/smoke.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414

1515
env:
1616
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
SMOKE_TEST_BRANCH: ${{ vars.SMOKE_TEST_BRANCH || 'main' }}
17+
SMOKE_TEST_BRANCH: maven-wrapper
1818
permissions: {}
1919

2020
jobs:
@@ -49,7 +49,7 @@ jobs:
4949
cat filtered.json
5050
5151
# Curl the smoke-test tests directory to get a list of tests to run
52-
URL=https://api.github.com/repos/${{ vars.SMOKE_TEST_REPO || 'dependabot/smoke-tests' }}/contents/tests?ref=${{ env.SMOKE_TEST_BRANCH }}
52+
URL=https://api.github.com/repos/${{ vars.SMOKE_TEST_REPO || 'yeikel/smoke-tests' }}/contents/tests?ref=${{ env.SMOKE_TEST_BRANCH }}
5353
curl $URL > tests.json
5454
5555
# Select the names that match smoke-$test*.yaml, where $test is the .text value from filtered.json
@@ -97,7 +97,7 @@ jobs:
9797
- name: Download test
9898
if: steps.cache-smoke-test.outputs.cache-hit != 'true'
9999
run: |
100-
gh api "repos/${{ vars.SMOKE_TEST_REPO || 'dependabot/smoke-tests' }}/contents/tests/${{ matrix.suite.name }}?ref=${{ env.SMOKE_TEST_BRANCH }}" -H "Accept: application/vnd.github.raw" > smoke.yaml
100+
gh api "repos/${{ vars.SMOKE_TEST_REPO || 'yeikel/smoke-tests' }}/contents/tests/${{ matrix.suite.name }}?ref=maven-wrapper" -H "Accept: application/vnd.github.raw" > smoke.yaml
101101
102102
- name: Cache Smoke Test
103103
if: steps.cache-smoke-test.outputs.cache-hit != 'true'
@@ -117,7 +117,7 @@ jobs:
117117
CACHE=${CACHE%.yaml}
118118
CACHE=${CACHE%.yml}
119119
120-
gh run download --repo dependabot/smoke-tests --name cache-$CACHE --dir cache
120+
gh run download --repo yeikel/smoke-tests --name cache-$CACHE --dir cache
121121
continue-on-error: true
122122

123123
- name: Build ecosystem image

0 commit comments

Comments
 (0)