Skip to content

Commit

Permalink
Update pipeline libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
muratabur committed Jan 13, 2025
1 parent 92ab684 commit f49752b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,30 @@ on:

jobs:
test_on_python_version:
# Python 3.6 isn't available on ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [3.8, "3.10", 3.12, 3.13]
python-version: ["3.8", "3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install linters
# only install linting libraries on python 3.8 since they don't suppot 3.6
# if: matrix.python-version == 3.8
run: |
pip install click==8.0.1
pip install black==22.1.0
pip install black==24.2.0
pip install ruff
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Lint with ruff
# only run ruff on python 3.8
# if: matrix.python-version == 3.8
run: |
ruff check .
- name: Lint with black
# only run black on python 3.8
# if: matrix.python-version == 3.8
run: |
black . --check
Expand Down

0 comments on commit f49752b

Please sign in to comment.