diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 0b1863e..9082f61 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -54,7 +54,7 @@ jobs: run: flutter analyze lib --fatal-infos - name: Run tests - run: flutter test + run: flutter test --dart-define cameraStubImage=assets/camera_stub_image.jpg - name: Analyze project source with stub if: steps.override-iap.conclusion != 'success' @@ -62,9 +62,3 @@ jobs: bash ./.github/scripts/stub_iap.sh flutter pub get flutter analyze lib --fatal-infos - - run-golden-tests: - name: Run golden tests - needs: [analyze-and-test] - uses: ./.github/workflows/run_golden_tests.yml - secrets: inherit diff --git a/.github/workflows/run_golden_tests.yml b/.github/workflows/run_golden_tests.yml index 48f6df7..1cfaf89 100644 --- a/.github/workflows/run_golden_tests.yml +++ b/.github/workflows/run_golden_tests.yml @@ -12,12 +12,6 @@ on: type: boolean description: Update goldens default: false - workflow_call: - inputs: - update-goldens: - type: boolean - description: Update goldens - default: false jobs: run-golden-tests: