Skip to content

Create codespell_and_ruff.yml #47

Create codespell_and_ruff.yml

Create codespell_and_ruff.yml #47

Workflow file for this run

on:
push:
pull_request:
jobs:
build:
# ubuntu-22 doesnt support Python 2.7, 3.5, and 3.6
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
name: main
steps:
- uses: actions/checkout@v4
- if: matrix.python-version != '2.7'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- if: matrix.python-version == '2.7'
run: sudo ln -sf /usr/bin/python2.7 /usr/bin/python && curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py | python
- name: clean .coverage
shell: bash
run: find . -name .coverage -delete
- name: Run tox with tox-gh-actions
uses: ymyzk/run-tox-gh-actions@main