Skip to content

Commit

Permalink
ch: Use GitHub Actions #9
Browse files Browse the repository at this point in the history
  • Loading branch information
toolen committed Jan 8, 2021
1 parent cb6dd58 commit 6c56955
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]

steps:
- uses: actions/checkout@v2
- 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
pip install poetry
poetry install --no-interaction --no-ansi
- name: Lint with flake8
run: |
flake8 --ignore E501 passgen tests
- name: Test with pytest
run: |
py.test --cov=passgen tests/
coveralls

0 comments on commit 6c56955

Please sign in to comment.