Skip to content

Commit

Permalink
Prototype pyflakes Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
roryyorke committed Jan 25, 2025
1 parent 6f1d912 commit 169a801
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pyflakes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# pyflakes on source, examples, and benchmarks

name: Doctest

on: [push, pull_request]

jobs:
pyflakes-linux:
# pyflakes shouldn't be sensitive to platform
runs-on: ubuntu-latest

steps:
- name: Checkout python-control
uses: actions/checkout@v3

- name: Setup environment
uses: actions/setup-python@v4
python-version: 3.13 # todo: latest?

- name: Install pyflakes
run: |
python -m pip install --upgrade pip
python -m pip install pyflakes
- name: Run pyflakes on control library
run: |
pyflakes control
- name: Run pyflakes on examples
run: |
pyflakes examples
- name: Run pyflakes on benchmarks
run: |
pyflakes benchmarks

0 comments on commit 169a801

Please sign in to comment.