-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from NextCenturyCorporation/development
Releasing 0.4.4
- Loading branch information
Showing
326 changed files
with
20,696 additions
and
6,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Pre-release to latest | ||
|
||
on: | ||
push: | ||
branches: | ||
master | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
# we are building a pure python wheel so it should work on any platform | ||
os: [ubuntu-latest] | ||
python-versions: [3.6] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Install Python 3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-versions }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt | ||
- name: Run unit tests | ||
run: python -m unittest | ||
- name: Flake8 | ||
run: flake8 | ||
- name: Autopep8 | ||
run: autopep8 --in-place --aggressive --recursive machine_common_sense | ||
- name: create wheel file | ||
run: python setup.py bdist_wheel sdist clean --all | ||
- name: download unity packages | ||
run: echo download ${GITHUB_REF##*/} and save in dist | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
#Can set an automatic release tag or let it use the initial tag. If latter, need to conform to semantic versioning. | ||
# Note, so far, we don't conform to semantic versioning. | ||
#alternatively, we could always tag as latest | ||
automatic_release_tag: latest | ||
prerelease: true | ||
title: "Latest Pre-Release" | ||
files: | | ||
dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Mac and Ubuntu Python 3.6 Unit Tests | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- development | ||
- master | ||
- gh-pages | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Install Python 3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt | ||
- name: Run unit tests | ||
run: python -m unittest | ||
- name: Run isort | ||
uses: jamescurtin/isort-action@master | ||
- name: Flake8 | ||
run: flake8 | ||
- name: Autopep8 | ||
run: autopep8 --in-place --aggressive --recursive machine_common_sense |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Mac and Ubuntu Python 3.6, 3.7 and 3.8 Unit Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
development | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
python-versions: [3.6, 3.7, 3.8] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Install Python 3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-versions }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt | ||
- name: Run unit tests | ||
run: python -m unittest | ||
- name: Flake8 | ||
run: flake8 | ||
- name: Autopep8 | ||
run: autopep8 --in-place --aggressive --recursive machine_common_sense |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Build and Publish PyPI, Documentation to GH Pages | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
with: | ||
fetch-depth: 0 | ||
- name: Build and Commit | ||
uses: sphinx-notes/pages@master | ||
with: | ||
documentation_path: docs/source | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages | ||
build-n-pub: | ||
strategy: | ||
matrix: | ||
# we are building a pure python wheel so it should work on any platform | ||
os: [ubuntu-latest] | ||
python-versions: [3.6] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Install Python 3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-versions }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt | ||
- name: create wheel file | ||
run: python setup.py bdist_wheel sdist clean --all | ||
- name: Publish distribution to Test PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
- name: Publish distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.