widget static resources are now built locally

This commit is contained in:
realaravinth
2021-07-07 00:28:32 +05:30
parent 5d55971f19
commit bfebca6e0e
36 changed files with 2086 additions and 168 deletions

View File

@@ -65,15 +65,6 @@ jobs:
- name: start smtp server
run: docker run -d -p 1080:1080 -p 10025:1025 maildev/maildev --incoming-user admin --incoming-pass password
- name: Install JavaScript Dependencies
run: yarn install
- name: Build frontend
run: yarn build
- name: Run the tests
run: yarn test
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
with:
@@ -81,20 +72,15 @@ jobs:
profile: minimal
override: true
- name: Run migrations
uses: actions-rs/cargo@v1
with:
command: run
args: --bin tests-migrate -- --build
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
- name: Build frontend
run: make frontend
- name: Run the frontend tests
run: make frontend-test
- name: Generate coverage file
if: matrix.version == '1.51.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
uses: actions-rs/tarpaulin@v0.1
with:
version: '0.15.0'
args: '-t 1200'
run: make xml-test-coverage
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/postgres
# GIT_HASH is dummy value. I guess build.rs is skipped in tarpaulin