Bump actions/setup-python from 4 to 5 #74
Workflow file for this run
This file contains 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: | |
build: | |
name: speedetst CI python ${{ matrix.python-version }} on ${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.12"] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install latest pip, setuptools + black & coverage | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install black coverage | |
- name: Run Formatting | |
run: | | |
black --check *.py | |
- name: Run Tests | |
run: | | |
python -m pip install . | |
coverage run tests.py | |
coverage report |