Skip to content

Commit

Permalink
Bumped version number
Browse files Browse the repository at this point in the history
  • Loading branch information
evsmithx committed Oct 13, 2021
2 parents bf33dce + 1b5dc96 commit 3c977ec
Show file tree
Hide file tree
Showing 96 changed files with 3,524 additions and 1,502 deletions.
14 changes: 14 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.git/
.github/
.idea/
.mypy_cache/
.pytest_cache/
.tox/
build/
colearn.egg-info/
dist/
docs/
site/
tests/

*.py[cgo]
23 changes: 23 additions & 0 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Container Publish
on:
push:
tags:
- '*'

jobs:
build-and-push:
name: Dockerhub Push
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Login to Docker Hub
run: |
docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and Publish Public Images
uses: ejfitzgerald/[email protected]
with:
repo: fetchai/colearn
dockerfile: docker/ml.Dockerfile
28 changes: 25 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
continue-on-error: False
runs-on: ubuntu-latest
timeout-minutes: 11

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
Expand All @@ -31,10 +31,32 @@ jobs:
run: tox -e flake8 -e pylint
- name: Type checking
run: tox -e mypy
- name: Short pytests
run: tox -e pytest
- name: Build docs
run: tox -e docs
- name: Check copyright notice
run: tox -e copyright_check

code_pytests_multiversion:

continue-on-error: False
runs-on: ubuntu-latest
timeout-minutes: 11

strategy:
matrix:
python-version: [3.6, 3.7, 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 wheel
pip install tox
- name: Short pytests
run: tox -e pytest${{ matrix.python-version }}

11 changes: 8 additions & 3 deletions .github/workflows/python-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ jobs:
continue-on-error: False
runs-on: self-hosted
timeout-minutes: 30

strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

env:
GITHUB_ACTION: true
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install tox
- name: Pytest
run: tox -e pytest-slow
run: tox -e pytest-slow${{ matrix.python-version }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ venv/
site/

Pipfile
*.bak
8 changes: 3 additions & 5 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ ENABLED:
# R0801: similar lines

[IMPORTS]
ignored-modules=aiohttp,defusedxml,imgaug,google,gym,fetch,librosa,matplotlib,
memory_profiler,numpy,oef,opacus,
openapi_core,pandas,PIL,psutil,pydantic,pytest,tensorflow,tensorflow_datasets,tensorflow_core,
tensorflow_privacy,temper,torch,torchvision,torchsummary,tqdm,typing_extensions,
scipy,skimage,sklearn,vyper,web3,click,grpc,prometheus_client
ignored-modules=click,google,grpc,matplotlib,numpy,opacus,pandas,PIL,prometheus_client,pydantic,pytest,
tensorflow,tensorflow_core,tensorflow_datasets,tensorflow_privacy,torch,torchsummary,torchvision,typing_extensions,
scipy,sklearn,xgboost
Loading

0 comments on commit 3c977ec

Please sign in to comment.