Skip to content

Instantly share code, notes, and snippets.

@harshitsinghai77
Created August 6, 2021 10:02
Show Gist options
  • Save harshitsinghai77/996db044a124eca92828b14ecbe70ec2 to your computer and use it in GitHub Desktop.
Save harshitsinghai77/996db044a124eca92828b14ecbe70ec2 to your computer and use it in GitHub Desktop.
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