cmsmadesimple update #6
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
# last update: 2024-12-07 | |
# https://github.com/hannob/codingstyle | |
--- | |
name: runpyci | |
"on": | |
- pull_request | |
- push | |
jobs: | |
build: | |
strategy: | |
matrix: | |
python-version: [3.9, 3.x, 3.14-dev] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.os }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies and linters | |
run: | | |
[ -e requirements.txt ] && pip install -r requirements.txt | |
pip install setuptools # CUSTOM: required until we move to pyproject | |
pip install pycodestyle pyupgrade pyflakes dlint pylint ruff | |
- name: Run tests | |
env: | |
RUN_ONLINETESTS: 1 | |
run: | | |
./runpyci.sh |