@@ -9,33 +9,6 @@ name: Python Build
99 pull_request :
1010
1111jobs :
12- development-mode :
13- name : pip development mode on ${{ matrix.os }}
14- runs-on : ${{ matrix.os }}
15- strategy :
16- fail-fast : false
17- matrix :
18- os : [macos-latest]
19- python-version : [3.8]
20-
21- steps :
22- - uses : actions/checkout@v2
23- - name : Set up Python ${{ matrix.python-version }}
24- uses : actions/setup-python@v2
25- with :
26- python-version : ${{ matrix.python-version }}
27-
28- - name : Install build packages and pytest
29- run : |
30- python -m pip install --upgrade pip wheel
31- python -m pip install scikit-build
32-
33- - name : Install python so3
34- run : pip install -e .[dev]
35-
36- - name : run pytest
37- run : pytest tests/
38-
3912 from-sdist :
4013 name : python source distribution
4114 runs-on : ubuntu-latest
4922 - name : Install build packages and pytest
5023 run : |
5124 python -m pip install --upgrade pip wheel setuptools
52- python -m pip install conan scikit-build pytest cython numpy
25+ python -m pip install " conan<2" scikit-build pytest cython numpy
5326
5427 - name : Create sdist
5528 run : python setup.py sdist
8659 - name : Setup environment
8760 run : |
8861 python -m pip install --upgrade pip wheel
89- python -m pip install conan pytest
62+ python -m pip install " conan<2" pytest
9063 conan profile new default --detect
9164
9265 - name : Build wheels
@@ -119,14 +92,14 @@ jobs:
11992 mv source-distribution/*.tar.gz wheel-*/*.whl dist
12093
12194 - name : Publish distribution 📦 to Test PyPI
122- if : ${{ github.ref != 'refs/tags/v1.3.5 ' }}
95+ if : ${{ github.ref != 'refs/tags/v1.3.6 ' }}
12396 uses : pypa/gh-action-pypi-publish@master
12497 with :
12598 password : ${{ secrets.TEST_PYPI_TOKEN }}
12699 repository_url : https://test.pypi.org/legacy/
127100
128101 - name : Publish distribution 📦 to PyPI
129- if : ${{ github.ref == 'refs/tags/v1.3.5 ' }}
102+ if : ${{ github.ref == 'refs/tags/v1.3.6 ' }}
130103 uses : pypa/gh-action-pypi-publish@master
131104 with :
132105 password : ${{ secrets.PYPI_TOKEN }}
0 commit comments