From 462effd18a2108710b1ab071611258a6b5234649 Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Wed, 8 Nov 2023 23:25:59 +0530 Subject: [PATCH] CI: update wip --- .github/workflows/main.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4beb03ef..8add6056 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -139,11 +139,26 @@ jobs: mingw-w64-${{matrix.env}}-python mingw-w64-${{matrix.env}}-python-pip mingw-w64-${{matrix.env}}-python-tox + mingw-w64-${{matrix.env}}-python-virtualenv + mingw-w64-${{matrix.env}}-cc git + - name: Install Dependencies + shell: msys2 {0} + run: | + export VIRTUALENV_NO_SETUPTOOLS=1 + + python -m virtualenv venv + source venv/bin/activate + + # python-ruff doesn't work without rust + sed -i '/pytest-ruff/d' setup.cfg + + pip install -e .[testing] - name: Run tests shell: msys2 {0} run: | - tox + source venv/bin/activate + pytest ci_setuptools: # Integration testing with setuptools