Skip to content

Python 3.4+: use os.set_inheritable + os.set_blocking in place of unreadable fcntl calls #4

Python 3.4+: use os.set_inheritable + os.set_blocking in place of unreadable fcntl calls

Python 3.4+: use os.set_inheritable + os.set_blocking in place of unreadable fcntl calls #4

Workflow file for this run

name: bsd
on: [push, pull_request]
permissions:
# BOLD WARNING: do not add permissions, this workflow executes remote code
contents: read
env:
FORCE_COLOR: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
freebsd:
name: freebsd
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
prepare: pkg install -y nginx python311
usesh: true
copyback: false
# not a typo: "openssl --version" != "openssl version"
run: |
uname -a \
&& python3.11 --version \
&& openssl version \
&& pkg info nginx \
&& python3.11 -m pip install --upgrade pip \
&& python3.11 -m pip install tox \
&& python3.11 -m tox -e run-module \
&& python3.11 -m tox -e run-entrypoint \
&& python3.11 -m tox -e py
openbsd:
name: openbsd
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
prepare: pkg_add python py3-pip nginx
usesh: true
copyback: false
run: |
uname -a \
&& python --version \
&& openssl version \
&& pkg_info nginx \
&& python -m pip install --upgrade pip \
&& python -m pip install tox \
&& python -m tox -e run-module \
&& python -m tox -e run-entrypoint \
&& python -m tox -e py