Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 0.0.32 #313

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
run: |
sort -C requirements.txt

tests:
tests-3x:
name: Run Unit Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [2.7.18, 3.6.15, 3.8.16, 3.10.10]
python-version: [3.6.15, 3.8.16, 3.10.10]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v3
Expand All @@ -63,9 +63,31 @@ jobs:
- name: Run Pytest
run: pytest -v tests

tests-2x:
name: Run Unit Tests
runs-on: ubuntu-20.04
container:
image: python:2.7.18-buster
steps:
- uses: actions/checkout@v3
- name: Install APT On Linux
run: |
apt-get update && apt-get install sudo cmake -y
sudo apt-get update -qq -y
sudo apt-get install -qq -y libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev
- name: Install Pytest
run: |
python -m pip install --upgrade pip setuptools wheel
pip install Cython
pip install pytest hacking
- name: Install scikit-robot
run: pip install .[all]
- name: Run Pytest
run: sudo pytest -v tests # require sudo to access /tmp dir

pypi:
name: Release To PyPi
needs: [formatting, requirements-formatting, tests]
needs: [formatting, requirements-formatting, tests-2x, tests-3x]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from setuptools import setup


version = '0.0.31'
version = '0.0.32'


if sys.argv[-1] == 'release':
Expand Down
Loading