fix formatting #40
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo pip3 install black | |
- name: Build frontend | |
run: make build | |
- name: Install fava-dashboards | |
run: pip3 install . | |
- name: Start Fava | |
run: cd example; fava example.beancount & | |
- name: Run HTML tests | |
run: cd frontend; npm run test -- -t HTML | |
- name: Run formatter | |
run: | | |
make format | |
git diff --exit-code |