diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml deleted file mode 100644 index bb13c864afa..00000000000 --- a/.github/workflows/pypi_upload.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Publish to PyPI - -on: - release: - types: [published] - -permissions: - contents: read - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '*' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install --upgrade build twine - - - name: Build package - run: python -m build - - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.3 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 2f92f9fad30..00000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Test - -on: - push: - paths-ignore: - - "patches/**" - - pull_request: - paths-ignore: - - "patches/**" - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} - cancel-in-progress: true - -jobs: - test: - if: - github.event_name == 'push' || github.event.pull_request.head.repo.full_name != - github.repository - - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11",] - os: [ubuntu-latest, macOS-latest, windows-latest] - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install tox - run: | - python -m pip install --upgrade pip - python -m pip install --upgrade tox - - - name: Unit tests - if: "!startsWith(matrix.python-version, 'pypy')" - run: tox -e ci-py -- -v --color=yes