diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index a22f3c23a..2b321b374 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -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 @@ -27,4 +32,12 @@ jobs: - uses: actions/upload-artifact@v3 with: - path: ./wheelhouse/*.whl \ No newline at end of file + 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/ \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66ac37bc3..2fc2ec131 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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"] @@ -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"] @@ -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"] @@ -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: diff --git a/setup_pypi_test.py b/setup_pypi_test.py index a8515a86d..f14218efa 100644 --- a/setup_pypi_test.py +++ b/setup_pypi_test.py @@ -67,7 +67,7 @@ def run(self): setup(name='pinpointPy', - version="1.0.34", + version="1.0.35", author="cd_pinpoint members", author_email='dl_cd_pinpoint@navercorp.com', license='Apache License 2.0',