Created
August 6, 2021 10:02
-
-
Save harshitsinghai77/996db044a124eca92828b14ecbe70ec2 to your computer and use it in GitHub Desktop.
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: Python application test with Github Actions | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Lint with pylint | |
run: | | |
make lint | |
- name: Test with pytest | |
run: | | |
make test | |
- name: Format code | |
run: | | |
make format | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment