Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #748 from nnadeau/releases
Browse files Browse the repository at this point in the history
  • Loading branch information
nnadeau authored Aug 8, 2020
2 parents 39e2ffa + ac8d65f commit 743f5cb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install poetry
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
poetry build
poetry publish --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }}
15 changes: 9 additions & 6 deletions .github/workflows/unit-tests.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Unit Test
name: Test

on:
push:
Expand All @@ -26,10 +23,16 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get install gcc gfortran libopenblas-dev liblapack-dev cython
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install core dependencies
run: |
poetry install --no-dev
- name: Test example
run: |
poetry run python examples/basic_usage.py
- name: Install dev dependencies
run: |
poetry install
- name: Run linting checks
run: |
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.7.5]

### Fixed

- Using `poetry` for releases workflow

## [0.7.4]

### Added
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pybotics"
version = "0.7.1"
version = "0.7.5"
description = "Python Toolbox for Robotics"
authors = ["Nicholas Nadeau <nicholas.nadeau@gmail.com>"]
readme = "README.md"
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

0 comments on commit 743f5cb

Please sign in to comment.