Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,6 @@ jobs:
yarn run build
yarn run dist

- name: Test electron app with puppeteer
continue-on-error: true # test is flaky on GHA
working-directory: workbench
run: npx cross-env CI=true yarn run test-electron-app

# gsutil (part of make deploy) never seems to support the latest python version.
- name: Set up python for gsutil
uses: actions/setup-python@v6
Expand Down Expand Up @@ -502,13 +497,6 @@ jobs:
name: InVEST-user-guide
path: dist/InVEST_*_userguide.zip

- name: Upload workbench logging from puppeteer
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ runner.os }}_puppeteer_log.zip'
path: ${{ matrix.puppeteer-log }}

- name: Run invest-autotest with binaries
id: invest-autotest
if : |
Expand All @@ -532,6 +520,17 @@ jobs:
DEST=gs://releases.naturalcapitalproject.org/invest-reports/latest
gsutil -m rsync -r ${{ steps.invest-autotest-deploy.outputs.REPORTS_BASE_URL }} $DEST

- name: Test electron app with puppeteer
working-directory: workbench
run: npx cross-env CI=true yarn run test-electron-app

- name: Upload workbench logging from puppeteer
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ runner.os }}_puppeteer_log.zip'
path: ${{ matrix.puppeteer-log }}

- name: Tar the workspace to preserve permissions
if: failure()
run: tar -cvf ${{ matrix.workspace-path}} ${{ github.workspace }}
Expand Down
Loading