Skip to content

Commit

Permalink
apply pr suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Nov 30, 2023
1 parent cced0c2 commit da64c63
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Python package CI
on: [ push, pull_request ]

jobs:
test:

build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.12" ]

steps:
- uses: actions/checkout@v4
Expand All @@ -21,10 +20,23 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel ruff
- name: Run ruff
run: ruff check nucypher_ops
pip install setuptools wheel
- name: Build dist
run: python setup.py sdist bdist_wheel

lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install ruff
run: pip install ruff

- name: Run ruff
run: ruff check --output-format=github nucypher_ops

0 comments on commit da64c63

Please sign in to comment.