update tests #21
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: 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 | |
sudo npm install -g prettier | |
- name: Build frontend | |
run: make build | |
- name: Install fava-dashboards | |
run: pip3 install . | |
- name: Start Fava | |
run: cd example; fava example.beancount & | |
- name: Run tests | |
run: make test | |
- name: Run formatter | |
run: | | |
make format | |
git diff --exit-code |