From 4df945f52e8ae981191e6ac144e7a263f1d181e0 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Mon, 6 May 2024 10:25:29 +0200 Subject: [PATCH] Improve Github action unit test on FreeBSD systems #2749 --- .github/workflows/test.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46b4c585..ffc6ad38 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -104,4 +104,23 @@ jobs: - name: Unitary tests run: | - python ./unitest.py \ No newline at end of file + python ./unitest.py + + test-freebsd: + + runs-on: ubuntu-22.04 + + steps: + + - uses: actions/checkout@v4 + + - name: Run tests + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + prepare: | + pkg install -y python3 py-pip + run: | + set -e -x + python3 -m pip install --user -r requirements.txt + python ./unitest.py