diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 00000000..36783c0c --- /dev/null +++ b/.github/workflows/master.yml @@ -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 \ No newline at end of file