mock building of react assets

This commit is contained in:
Mauro Stettler 2021-11-25 14:15:36 +00:00
parent 63537ea653
commit 34868d61cd
No known key found for this signature in database
GPG key ID: 1EBC1C55E2D201A2

View file

@ -25,7 +25,14 @@ jobs:
sudo mv /tmp/go /usr/local/go sudo mv /tmp/go /usr/local/go
cd - cd -
ls -l /usr/bin/go ls -l /usr/bin/go
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
# This file would normally be created by `make assets`, here we just
# mock it because the file is required for the tests to pass.
- name: Mock building of necessary react file
run: mkdir web/ui/static/react && touch web/ui/static/react/index.html
- name: Run Tests - name: Run Tests
run: GO=/usr/local/go/bin/go make common-test run: GO=/usr/local/go/bin/go make common-test