in not-in parens (#89) #224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
services: | |
clickhouse: | |
image: clickhouse/clickhouse-server:22.3.7.28 | |
ports: | |
- 8124:8123 | |
steps: | |
- uses: actions/checkout@v3 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Tests | |
run: | | |
npm ci | |
npm run static | |
npm run test -- --collectCoverage | |
echo "Check we are starting with clean git checkout" | |
if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi | |
echo "Checking that it was built by building" | |
rm -rf docs/api/ && rm -rf docs/examples | |
npm run md | |
echo "Check that build was unnecessary" | |
if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Unbuilt files."; false; fi |