Skip to content

Commit

Permalink
update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
perlinm committed Aug 9, 2024
1 parent c5c66a4 commit cb51baa
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,32 +55,9 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install '.[dev]'
- name: Pylint
- name: Lint
run: |
checks/pylint_.py --all
flake8:
name: Flake8 check
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install '.[dev]'
- name: Flake8
run: |
checks/flake8_.py
checks/lint_.py --all
mypy:
name: Type check
Expand Down

0 comments on commit cb51baa

Please sign in to comment.