Skip to content

Commit

Permalink
Merge branch 'release/v0.7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepmanbc committed Aug 29, 2021
2 parents 6c9d215 + 5546f40 commit ab99d6c
Show file tree
Hide file tree
Showing 24 changed files with 316 additions and 830 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
relative_files = True
31 changes: 31 additions & 0 deletions .github/workflows/dev_verif.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: dev_verif

on:
push:
branches: ['develop']
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
strategy:
matrix:
python: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
- name: Run Tox
run: tox -e py
- name: install coverages stuffs
run: |
pip install -U coveralls coverage pytest pytest-cov
coverage run --source=creopyson setup.py test
coveralls
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: release

on:
push:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
strategy:
matrix:
python: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
- name: Run Tox
run: tox -e py
- name: install coverages stuffs
run: |
pip install -U coveralls coverage pytest pytest-cov
coverage run --source=creopyson setup.py test
coveralls
deploy:
runs-on: ubuntu-latest
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
needs: build
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
run: |
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
=======

0.7.3 (2021-08-29)
------------------

* Add *is not None* almost everywhere to prevent *False* and *None* confusion
* Migrates to Github Workflow
* Remove pipenv stuff

0.7.2 (2021-04-01)
------------------

Expand Down
23 changes: 0 additions & 23 deletions Pipfile

This file was deleted.

Loading

0 comments on commit ab99d6c

Please sign in to comment.