Skip to content

ENH: add reuse_port option in create_socket function #38

ENH: add reuse_port option in create_socket function

ENH: add reuse_port option in create_socket function #38

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
linux:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Test
run: |
python -m unittest
release:
needs: [linux]
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags')
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build a source tarball
run: |
git clean -dfx
python -m build --sdist --outdir dist/ .
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
skip_existing: true
password: ${{secrets.pypi_password}}