Skip to content

Commit

Permalink
Test universal FIREWHEEL ecosystem linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchnegus committed Dec 2, 2024
1 parent d53e6ca commit b393150
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# This workflow will enforce FIREWHEEL ecosystem standard linting

name: Linting
name: FIREWHEEL Linting

on:
push:
Expand All @@ -10,27 +9,5 @@ on:
branches: [ "main" ]

jobs:
lint:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Lint code
run: |
tox -e lint
- name: Lint documentation
run: |
tox -e lint-docs
call-firewheel-linting:
uses: mnegus/firewheel/.github/workflows/linting.yml@universal-ci

0 comments on commit b393150

Please sign in to comment.