Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcis committed Apr 29, 2020
1 parent ea53c04 commit ecfce62
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,38 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements-test.txt
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pip install pytest
pytest
10 changes: 7 additions & 3 deletions README.rst
Expand Up @@ -2,14 +2,18 @@
Population Shift Monitoring
===========================

.. image:: https://github.com/ing-bank/popmon/workflows/build/badge.svg

* Version: 0.3.1. Released: April 2020
* Documentation: https://popmon.readthedocs.io
* Repository: https://github.com/ing-bank/popmon
* Authors: ING Wholesale Banking Advanced Analytics

.. figure:: https://github.com/ing-bank/popmon/blob/master/docs/source/assets/popmon-logo.png
:width: 300px
:align: center
.. raw:: html

<div align="center">
<a href="https://github.com/ing-bank/popmon"><img width="400px" src="https://github.com/ing-bank/popmon/blob/master/docs/source/assets/popmon-logo.png" alt="popmon logo"></a>
</div>

`popmon` is a package that allows one to check the stability of a dataset.
`popmon` works with both pandas and spark datasets.
Expand Down
File renamed without changes.

0 comments on commit ecfce62

Please sign in to comment.