Skip to content

Commit

Permalink
Use local version for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 5, 2024
1 parent 80ac9c3 commit 74b591c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ecosystem_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: 'Path to the file containing the list of repository names'
type: string
required: true
local_debug:
description: Whether to use a local version of ecosystem testing - only for debug
default: false
type: boolean
required: false

jobs:
update_and_test:
Expand All @@ -23,7 +28,12 @@ jobs:

- run: echo "${{ toJSON(github.event.pull_request.labels.*.name) }}"

- name: Install firehose
run: dart pub global activate -s path pkgs/quest
if: ${{ inputs.local_debug }}

- run: dart pub global activate -s git https://github.com/dart-lang/ecosystem.git --git-ref main --git-path pkgs/quest
if: ${{ !inputs.local_debug }}

- name: Update package and test
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem_test_internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ jobs:
uses: ./.github/workflows/ecosystem_test.yaml
with:
repos_file: .github/test_repos/repos.json
local_debug: true

0 comments on commit 74b591c

Please sign in to comment.