Skip to content

docs: add schema push instructions to a callout #538

docs: add schema push instructions to a callout

docs: add schema push instructions to a callout #538

name: Test Coverage
on:
push:
branches: [main]
# Only install and test in the db for now
defaults:
run:
working-directory: packages/db
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install modules
run: yarn install
- name: Run unit tests with coverage
run: |
SUMMARY="$(yarn test-ci | tail -2 | head -1)"
TOKENS=($SUMMARY)
echo "COVERAGE=$(echo ${TOKENS[2]})" >> $GITHUB_ENV
- name: Create Coverage Badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: f5f2c109373b081a8d894d8289f135e3
filename: triplit_coverage.json
label: coverage
message: ${{ env.COVERAGE }}
namedLogo: vitest
color: blue
logoColor: yellow