Merge pull request #233 from nycrecords/johnyu95-july-2024-quarterly-… #353
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: Build Status | |
on: | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- uses: actions/setup-node@v2.1.2 | |
with: | |
node-version: "12.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/dev.txt | |
- name: Install Node dependencies | |
run: npm install | |
- run: cp .env.example .env | |
- name: Run Node lints | |
run: npm run lint | |
- name: Run Python lints | |
run: flask lint --check | |
- name: Run Python tests | |
run: flask test |