Merge branch 'main' of https://github.com/juhyep/recitation7 into set… #5
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 | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
- name: Install pipenv | ||
run: | | ||
python -m pip install --upgrade pipenv wheel | ||
- name: Install dependencies | ||
run: | | ||
pipenv install --deploy --dev | ||
- name: Move to flask folder | ||
run: | | ||
cd app | ||
- name: Run test suite | ||
run: | | ||
pipenv run pytest | ||
format: | ||
- name: Run black formatter | ||
uses: rickstaa/[email protected] | ||