ci(licenses): Check Python requirements licenses #9
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: check-licenses | |
| on: | |
| pull_request: | |
| branches: | |
| - "*" | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: "bash" | |
| jobs: | |
| check-licenses: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| - run: pip install -U pip setuptools | |
| - run: pip install -r skore/requirements.in | |
| - name: Check Python dependencies with liccheck | |
| uses: andersy005/gh-action-py-liccheck@main | |
| with: | |
| strategy-ini-file: .github/actions/liccheck-strategy.ini | |
| level: paranoid | |
| requirements-txt-file: skore/requirements.in | |
| liccheck-version: 0.9.2 |