chore: Bump release 0.6.3 (#227) #959
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, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.10', '3.11', '3.12' ] | |
| java-version: [ 17 ] | |
| maven-version: [ '3.8.6' ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK + Maven version | |
| uses: s4u/[email protected] | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| maven-version: ${{ matrix.maven-version }} | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Build explainability-core | |
| uses: ./.github/actions/build-core | |
| - name: Install TrustyAI Python package | |
| run: | | |
| pip install --upgrade pip | |
| pip install . | |
| pip install ".[dev]" | |
| pip install ".[api]" | |
| # Extras extra removed; keep AIX360-only deps out of the default install | |
| - name: Lint | |
| run: | | |
| pylint --ignore-imports=yes $(find src/trustyai -type f -name "*.py" | grep -v "/extras/") | |
| - name: Test with pytest | |
| run: | | |
| pytest -v -s tests/general | |
| # pytest -v -s tests/extras # Extras-only deps not installed in CI | |
| pytest -v -s tests/initialization --forked | |
| - name: Style | |
| run: | | |
| black --check $(find src/trustyai -type f -name "*.py") |