Update README.md #136
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
## Python | |
- name: Install Python 3.6 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.6" | |
- name: Install Python formatter | |
run: pip install black | |
- name: Check Python formatting in flask-sqlalchemy backend | |
run: black --check backends/flask-sqlalchemy | |
- name: Check Python formatting in tests | |
run: black --check tests | |
## Ruby | |
- name: Install Ruby + gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: 2.7 | |
## Node | |
- name: Use Node.js 12.20.0 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.20.0 | |
# Run backend tests | |
- name: Flask SQLAlchemy Tests | |
working-directory: "tests" | |
run: make test-flask-sqlalchemy | |
- name: Rails Tests | |
working-directory: "tests" | |
run: make test-rails | |
- name: express-typeorm Tests | |
working-directory: "tests" | |
run: make test-express-typeorm |