fix volumetric extrusion calculation for summary #171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [push] | |
| jobs: | |
| linting: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: checkout | |
| uses: actions/checkout@v6 | |
| - name: lint | |
| run: | | |
| pip install ruff | |
| ruff check . | |
| ruff format --check . | |
| testing: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.10", "3.14"] | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v6 | |
| - name: setup python ${{ matrix.python-version }} on ${{ matrix.os }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: run tests | |
| run: | | |
| git lfs fetch | |
| git lfs checkout | |
| pip install .[TEST] | |
| pytest --cov=. --cov-config=pyproject.toml --cov-report term \ | |
| --cov-report xml:./tests/coverage.xml | |
| - name: upload coverage report | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: coverage_report_${{ matrix.os }}_${{ matrix.python-version }} | |
| path: ./tests/coverage.xml |