Skip to content

Commit

Permalink
Add master branch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
husnusensoy committed Jul 27, 2020
1 parent 6017ab4 commit 0e9ce89
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Python package

on:
push:
branches:
- develop

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.7, 3.6, 3.5]

steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint, flake8 and bandit
run: |
make lint
- name: pytest
run: |
make test

0 comments on commit 0e9ce89

Please sign in to comment.