Replaced outdated datasources #52
Workflow file for this run
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: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| jobs: | |
| tests-legacy: | |
| name: Tests on Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["2.7", "3.5", "3.6", "3.7"] | |
| container: | |
| image: python:${{ matrix.python-version }}-slim-buster | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install "poetry==1.4.2" | |
| poetry install | |
| - name: Do lint | |
| run: poetry run flake8 . | |
| - name: Do tests | |
| run: poetry run pytest --cov uchecker -v | |
| tests-modern: | |
| name: Tests on Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip poetry | |
| poetry install | |
| - name: Do lint | |
| run: poetry run flake8 . | |
| - name: Do tests | |
| run: poetry run pytest --cov uchecker -v |