mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
workflows: Do not use ext/
director to run tests
We need this directory for building the image, but not for running the tests outside of it.
This commit is contained in:
parent
919cff0398
commit
6e11e497bc
8
.github/workflows/docker_latest.yml
vendored
8
.github/workflows/docker_latest.yml
vendored
@ -82,14 +82,16 @@ jobs:
|
||||
|
||||
- name: Build Node.js code
|
||||
run: |
|
||||
pushd ext && \
|
||||
{ if [ -e package.json ] ; then yarn install --frozen-lockfile --modules-folder=../../node_modules; fi } && \
|
||||
popd
|
||||
rm -rf ext
|
||||
yarn run build:prod
|
||||
|
||||
- name: Run tests
|
||||
run: TEST_IMAGE=${{ github.repository_owner }}/${{ matrix.image.name }}:experimental VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:docker
|
||||
|
||||
- name: Restore the ext/ directory
|
||||
if: matrix.image.name != 'grist-oss'
|
||||
run: buildtools/checkout-ext-directory.sh ${{ matrix.image.repo }}
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user