Skip to content

Merge pull request #64 from getindata/dockerfile #316

Merge pull request #64 from getindata/dockerfile

Merge pull request #64 from getindata/dockerfile #316

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Setup virtualenv
run: |
python -V
python -m pip install virtualenv pipdeptree
virtualenv venv
source venv/bin/activate
pip install --upgrade pip
- name: Test pre-commit hooks
run: |
pip install .[tests]
pip freeze
pipdeptree
pre-commit run --all-files
- name: Test with tox
run: |
tox -e py
- name: Wheel
run: |
python setup.py sdist
- name: Build docker image
uses: docker/build-push-action@v3
with:
push: false
tags: getindata/streaming-jupyter-integrations:latest