Bump to v1.0.2 — lint-clean release #6
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Run tests with coverage | |
| run: pytest tests/ --cov=trusteval --cov-report=xml -v | |
| - name: Lint with ruff | |
| run: ruff check trusteval/ | |
| - name: Type check with mypy | |
| run: mypy trusteval/ --ignore-missing-imports | |
| continue-on-error: true | |
| - name: Security scan with bandit | |
| run: bandit -r trusteval/ -ll | |
| continue-on-error: true |