Skip to content

Commit

Permalink
CI: test OpenBSD + FreeBSD in Linux VM
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed Aug 23, 2024
1 parent c5b803c commit 4a5d065
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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

0 comments on commit 4a5d065

Please sign in to comment.