diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c9cbf4..eb39d46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,16 +31,18 @@ jobs: runs-on: windows-latest strategy: matrix: - environment: [py310, py312] + python-version: + - "3.10" steps: - name: Check out repo uses: actions/checkout@v4 - name: Setup Pixi uses: prefix-dev/setup-pixi@v0.5.1 - with: - environments: ${{ matrix.environment }} - - name: Run linter - run: pixi run lint + - name: Setup older Python versions + run: | + pixi add python=${{ matrix.python-version }} + pixi remove pytest + pixi add pytest - name: Run Tests run: pixi run test diff --git a/pixi.lock b/pixi.lock index 48766d2..3d089f0 100644 --- a/pixi.lock +++ b/pixi.lock @@ -48,7 +48,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/pygments-2.17.2-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/pyparsing-3.1.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/pysocks-1.7.1-pyh0701188_6.tar.bz2 - - conda: https://conda.anaconda.org/conda-forge/noarch/pytest-8.0.2-pyhd8ed1ab_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/pytest-8.1.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/pytest-cov-4.1.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/python-dateutil-2.9.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/python-tzdata-2024.1-pyhd8ed1ab_0.conda @@ -3969,27 +3969,27 @@ packages: timestamp: 1661605138291 - kind: conda name: pytest - version: 8.0.2 + version: 8.1.1 build: pyhd8ed1ab_0 subdir: noarch noarch: python - url: https://conda.anaconda.org/conda-forge/noarch/pytest-8.0.2-pyhd8ed1ab_0.conda - sha256: ea81e7efe66cffab5c8316d3a7e125e29dff9cfb19fc3578b72f965e8a876539 - md5: 40bd3ef942b9642a3eb20b0bbf92469b + url: https://conda.anaconda.org/conda-forge/noarch/pytest-8.1.1-pyhd8ed1ab_0.conda + sha256: 3c481d6b54af1a33c32a3f3eaa3e0971955431e7023db55808740cd062271c73 + md5: 94ff09cdedcb7b17e9cd5097ee2cfcff depends: - colorama - exceptiongroup >=1.0.0rc8 - iniconfig - packaging - - pluggy <2.0,>=1.3.0 + - pluggy <2.0,>=1.4 - python >=3.8 - - tomli >=1.0.0 + - tomli >=1 constrains: - pytest-faulthandler >=2 license: MIT license_family: MIT - size: 251895 - timestamp: 1708821744729 + size: 255523 + timestamp: 1709992719691 - kind: conda name: pytest-cov version: 4.1.0 diff --git a/pixi.toml b/pixi.toml index d118b88..5ac86d7 100644 --- a/pixi.toml +++ b/pixi.toml @@ -28,21 +28,9 @@ openpyxl = "*" shapely = ">=2.0.1" pyvista = "*" black = "*" -pytest = ">=8.0,<8.1" +pytest = ">=8.1.1,<8.2" pytest-cov = "*" ruff = "*" sphinx = "*" sphinx-rtd-theme = "*" -pip = ">=24.0,<25" - -[feature.py310.dependencies] -python = "3.10.13" -[feature.py311.dependencies] -python = "3.11.*" -[feature.py312.dependencies] -python = "3.12.*" - -[environments] -py310 = ["py310"] -py311 = ["py311"] -py312 = ["py312"] +pip = ">=24.0,<25" \ No newline at end of file