📣 better logging #85
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: check | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
cache-dependency-path: app/package-lock.json | |
- name: install dependencies | |
run: npm --prefix app/ ci | |
- name: run pre-commit lints | |
uses: pre-commit/[email protected] | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
cache-dependency-path: app/package-lock.json | |
- name: install dependencies | |
run: npm --prefix app/ ci | |
- name: run fast tests | |
run: npm --prefix app/ run test:fast | |
- name: run puppeteer tests | |
run: npm --prefix app/ run test:puppeteer | |
continue-on-error: true # these tests are flaky and it is annoying to be blocked on them |