From 0e1eb51341d2aa70905ad69e932e92286ce07045 Mon Sep 17 00:00:00 2001 From: David Ong Tat-Wee Date: Thu, 18 Aug 2022 14:23:00 +0800 Subject: [PATCH] Delete publish_skip_testpypi.yml created for an earlier publish, no longer needed --- .github/workflows/publish_skip_testpypi.yml | 65 --------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/publish_skip_testpypi.yml diff --git a/.github/workflows/publish_skip_testpypi.yml b/.github/workflows/publish_skip_testpypi.yml deleted file mode 100644 index 668ae7837..000000000 --- a/.github/workflows/publish_skip_testpypi.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Skip Test Pypi and Publish to Pypi -env: - VERSION: v1.0.3 -on: workflow_dispatch - -jobs: - local-install-test: - name: Build PeekingDuck and test locally - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Update Version Number - run: | - bash ./scripts/update_version.sh $VERSION - - name: Local Test - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r cicd_requirements.txt - pip install . - bash ./scripts/run_tests.sh all - bash ./scripts/usecase_tests.sh - build-publish: - name: Build PeekingDuck on PyPI - needs: local-install-test - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Update Version Number - run: | - bash ./scripts/update_version.sh $VERSION - - name: Install pypa and build - run: | - echo "Building new version..." - python -m pip install --upgrade pip - python -m pip install build --user - python -m build --sdist --wheel --outdir dist/ . - - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - password: ${{ secrets.PYPI_API_TOKEN }} - - test-install-pypi: - name: Test PeekingDuck on PyPI - needs: build-publish - runs-on: ubuntu-18.04 - steps: - - name: Set up Python 3.7 - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Test installation from PyPI - run: | - sleep 300 - pip install click pyyaml colorama - pip install peekingduck==$VERSION --no-dependencies # no tensorflow - peekingduck