Python 3.4+: use os.set_inheritable + os.set_blocking in place of unreadable fcntl calls #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tox | |
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 | |
prepare: pkg install -y python | |
usesh: true | |
copyback: false | |
run: | | |
uname -a \ | |
&& pkg info python \ | |
&& python -m pip install --upgrade pip \ | |
&& python -m pip install tox \ | |
&& tox -e run-module \ | |
&& tox -e run-entrypoint \ | |
&& 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 | |
prepare: pkg_add python | |
usesh: true | |
copyback: false | |
run: | | |
uname -a \ | |
&& pkg_info python \ | |
&& python -m pip install --upgrade pip \ | |
&& python -m pip install tox \ | |
&& tox -e run-module \ | |
&& tox -e run-entrypoint \ | |
&& tox -e py |