diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86e8ba51..44df920a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,38 +1,59 @@ --- name: CI -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: - contents: read + contents: write jobs: - distros: - name: "Ubuntu with Python ${{ matrix.python-version }}" - runs-on: "ubuntu-20.04" + build: + name: "${{ matrix.os }} with Python ${{ matrix.python-version }}" + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"] + python-version: ["3.10", "3.11", "pypy3.10"] + os: ["ubuntu-latest", "macos-latest"] steps: - name: Checkout - uses: "actions/checkout@v2" + uses: "actions/checkout@v3" - name: Install apt dependencies run: | set -ex sudo apt update sudo apt install -y ldap-utils slapd enchant-2 libldap2-dev libsasl2-dev apparmor-utils + if: runner.os == 'Linux' - name: Disable AppArmor run: sudo aa-disable /usr/sbin/slapd + if: runner.os == 'Linux' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: "Install Python dependencies" run: | set -xe python -V - python -m pip install --upgrade pip setuptools - python -m pip install --upgrade tox tox-gh-actions - - name: "Test tox with Python ${{ matrix.python-version }}" - run: "python -m tox" + python -m pip install --upgrade pip setuptools build + - name: "build python-ldap ${{ matrix.python-version }}" + run: "python -m build" + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3 + with: + # A file, directory or wildcard pattern that describes what to upload + path: dist/*.whl + release: + name: "Release" + needs: build + runs-on: ubuntu-latest + steps: + - name: Download Artifacts + # will download and upack all files from the default artifact named 'artifact' + uses: actions/download-artifact@v3 + - name: GH Release + uses: softprops/action-gh-release@v0.1.15 + with: + name: latest + files: | + *.whl pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy