@@ -409,73 +409,3 @@ jobs:
409409 working-directory : ${{ env.WORKING_DIR }}
410410 if : matrix.project_type == 'application'
411411 run : python -m pytest
412- pixi-linting :
413- strategy :
414- fail-fast : false
415- matrix :
416- project_type : ["application", "lib"]
417- runs-on : ubuntu-latest
418- steps :
419- - uses : actions/checkout@v6
420- - name : install Rust
421- uses : dtolnay/rust-toolchain@stable
422- - name : Cache Rust dependencies
423- 424- - name : Build package
425- run : cargo build --release
426- - name : Run creation
427- run : ./scripts/ci_run.sh ${{ matrix.project_type }} 5
428- shell : bash
429- - name : Install Pixi
430- uses :
prefix-dev/[email protected] 431- with :
432- manifest-path : ${{ env.WORKING_DIR }}/pyproject.toml
433- pixi-version : v0.57.0
434- - name : Set up Python
435- working-directory : ${{ env.WORKING_DIR }}
436- run : pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
437- - name : MyPy
438- working-directory : ${{ env.WORKING_DIR }}
439- run : pixi run -e dev mypy .
440- - name : ruff check
441- working-directory : ${{ env.WORKING_DIR }}
442- run : pixi run -e dev ruff check .
443- - name : ruff format
444- working-directory : ${{ env.WORKING_DIR }}
445- run : pixi run -e dev ruff format --check .
446- pixi-test :
447- strategy :
448- fail-fast : false
449- matrix :
450- project_type : ["application", "lib"]
451- os : [ubuntu-latest, windows-latest]
452- runs-on : ${{ matrix.os }}
453- steps :
454- - uses : actions/checkout@v6
455- - name : install Rust
456- uses : dtolnay/rust-toolchain@stable
457- - name : Cache Rust dependencies
458- 459- - name : Build package
460- run : cargo build --release
461- - name : Run creation
462- run : ./scripts/ci_run.sh ${{ matrix.project_type }} 5
463- shell : bash
464- - name : Install Pixi
465- uses :
prefix-dev/[email protected] 466- with :
467- manifest-path : ${{ env.WORKING_DIR }}/pyproject.toml
468- pixi-version : v0.57.0
469- - name : Set up Python
470- working-directory : ${{ env.WORKING_DIR }}
471- run : pixi add python=="${{ env.MIN_PYTHON_VERSION }}.*"
472- - name : Pre-commit check
473- working-directory : ${{ env.WORKING_DIR }}
474- run : |
475- pixi run -e dev pre-commit install
476- git add .
477- pixi run -e dev pre-commit run --all-files
478- - name : Test with pytest
479- working-directory : ${{ env.WORKING_DIR }}
480- if : matrix.project_type == 'application'
481- run : pixi run -e dev pytest
0 commit comments