Skip to content

Commit

Permalink
test wheels version
Browse files Browse the repository at this point in the history
  • Loading branch information
eeliu committed Sep 20, 2023
1 parent cd96ab4 commit b2846d1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
# Used to host cibuildwheel
- uses: actions/setup-python@v3

- name: set test version
run: |
rm setup.py
ln -s setup_pypi_test.py setup.py
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.0

Expand All @@ -27,4 +32,12 @@ jobs:

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
path: ./wheelhouse/*.whl

- name: Publish package to pypitest
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.EELIUTEST }}
packages_dir: ./wheelhouse/
repository_url: https://test.pypi.org/legacy/
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
cpp:
strategy:
matrix:
os: [ubuntu-18.04, macos-latest]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
name: valgrind-out
path: common/build/valgrind-out.txt
PHP5:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["5.6", "5.4", "5.5"]
Expand All @@ -69,7 +69,7 @@ jobs:
make test TESTS=src/PHP/tests5/
PHP7:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0"]
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
php think unit -v
PHP8:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["8.1"]
Expand All @@ -120,7 +120,7 @@ jobs:
Python:
strategy:
matrix:
os: [ubuntu-18.04, macos-latest]
os: [ubuntu-latest, macos-latest]
python-version: ["2.7", "3.5", "3.6", "3.7"]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion setup_pypi_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def run(self):


setup(name='pinpointPy',
version="1.0.34",
version="1.0.35",
author="cd_pinpoint members",
author_email='[email protected]',
license='Apache License 2.0',
Expand Down

0 comments on commit b2846d1

Please sign in to comment.