summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Morton <seth.m.morton@gmail.com>2023-02-28 21:47:50 -0800
committerSeth Morton <seth.m.morton@gmail.com>2023-02-28 23:07:07 -0800
commitc9ca4fc11b18157c87eccdcb6eec0465ee434c3f (patch)
treeff5796b29b689b6ef95aab1509aeeb58a3fd9cfc
parente7ffcbe38a08bdda9ee8132be8c95fa55e40b4ac (diff)
downloadnatsort-c9ca4fc11b18157c87eccdcb6eec0465ee434c3f.tar.gz
Add FreeBSD CI job
-rw-r--r--.github/workflows/tests.yml21
-rw-r--r--tox.ini1
2 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 34fa9d2..64065ce 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -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
diff --git a/tox.ini b/tox.ini
index 833d005..3fa2378 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,6 @@ deps =
pytest-cov
pytest-mock
hypothesis
- semver
extras =
{env:WITH_EXTRAS:}
commands =