From 8078073df29e64238736f075de32e7b05d6826de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Th=C3=A9bault?= Date: Tue, 27 Aug 2024 21:11:28 +0900 Subject: [PATCH] Fix Cirrus CI --- .cirrus.yml | 9 ++++++--- tests/conftest.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f2dedae1..2e64b569 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,5 +1,5 @@ freebsd_instance: - image_family: freebsd-13-2 + image_family: freebsd-14-1 iocage_tests_task: create_pool_script: @@ -7,16 +7,19 @@ iocage_tests_task: - zpool create pool /root/poolfile install_pkgs_script: - sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf - - pkg install -y git python3 py39-sqlite3 + - pkg install -y git python3 py311-sqlite3 + - pkg install -y rust configure_python_script: - python3 -m ensurepip pip_cache: folder: ~/.cache/pip populate_script: - - python3 install -r requirements-test.txt + - python3 -m pip install -r requirements-test.txt + - python3 -m pip install -r requirements.txt - python3 -m pip install -U cython env_setup_script: - python3 -m pip install -U -r requirements-test.txt + - python3 -m pip install -U -r requirements.txt - mount -t fdescfs null /dev/fd - pkg install -y devel/py-libzfs install_iocage_script: diff --git a/tests/conftest.py b/tests/conftest.py index f4a7ab6d..fbb84389 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -37,7 +37,7 @@ def pytest_addoption(parser): help='Specify a zpool to use.' ) parser.addoption( - '--release', action='store', default='12.2-RELEASE', + '--release', action='store', default='14.1-RELEASE', help='Specify a RELEASE to use.' ) parser.addoption(