diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2023-02-28 21:47:50 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2023-02-28 23:07:07 -0800 |
commit | c9ca4fc11b18157c87eccdcb6eec0465ee434c3f (patch) | |
tree | ff5796b29b689b6ef95aab1509aeeb58a3fd9cfc /.github/workflows | |
parent | e7ffcbe38a08bdda9ee8132be8c95fa55e40b4ac (diff) | |
download | natsort-c9ca4fc11b18157c87eccdcb6eec0465ee434c3f.tar.gz |
Add FreeBSD CI job
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/tests.yml | 21 |
1 files changed, 21 insertions, 0 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 |