Skip to content

Commit

Permalink
Add FreeBSD CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
SethMMorton committed Mar 1, 2023
1 parent e7ffcbe commit c9ca4fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,24 @@ jobs:

- name: Upload to CodeCov
uses: codecov/codecov-action@v3

test-bsd:
name: Test on FreeBSD
runs-on: macos-12

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install and Run Tests
uses: vmactions/freebsd-vm@v0
with:
prepare: |
pkg install -y python3
run: |
python3 -m venv .venv
source .venv/bin/activate.csh
pip install --upgrade pip
pip install pytest pytest-mock hypothesis
python -m pytest --hypothesis-profile=slow-tests
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ deps =
pytest-cov
pytest-mock
hypothesis
semver
extras =
{env:WITH_EXTRAS:}
commands =
Expand Down

0 comments on commit c9ca4fc

Please sign in to comment.