Sem-ver: bugfix Move to ubuntu 24.04 for ci agents #180
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: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: [3.8, 3.9, "3.10", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip wheel | |
| pip install -q pycodestyle==2.9.1 flake8==5.0.4 | |
| - name: Lint | |
| run: | | |
| pycodestyle . | |
| flake8 . | |
| - name: Test | |
| run: | | |
| pip install wheel | |
| pip install -r requirements.txt | |
| pip install -r test-requirements.txt | |
| python -Wd setup.py pytest |