forked from benoitc/gunicorn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: test OpenBSD + FreeBSD in Linux VM
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
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 | ||
with: | ||
prepare: pkg install -y 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 \ | ||
&& 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 | ||
with: | ||
prepare: pkg_add 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 \ | ||
&& tox -e run-module \ | ||
&& tox -e run-entrypoint \ | ||
&& tox -e py |