Skip to content

Commit

Permalink
Merge pull request #313 from iory/bump
Browse files Browse the repository at this point in the history
Bump to 0.0.32
  • Loading branch information
iory committed Nov 4, 2023
2 parents 0be4c12 + 58912e4 commit 2cdf4f1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
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

0 comments on commit 2cdf4f1

Please sign in to comment.