diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2023-03-01 21:25:31 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2023-03-01 21:25:31 -0800 |
commit | 1215858e0930dd1ab24c43726725c5e82ea80f87 (patch) | |
tree | 82409ab4904d799aec2535676581bc34535f9672 /.github/workflows/tests.yml | |
parent | e7ffcbe38a08bdda9ee8132be8c95fa55e40b4ac (diff) | |
parent | f2ea0d6f134c414bb9d98b271cab76e11f160f1b (diff) | |
download | natsort-1215858e0930dd1ab24c43726725c5e82ea80f87.tar.gz |
Merge branch 'run-on-freebsd-in-ci'
Diffstat (limited to '.github/workflows/tests.yml')
-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 |