Skip to content

Commit

Permalink
Fix CI (#2)
Browse files Browse the repository at this point in the history
* Fix CI

* Fix CI

* Fix CI

* Fix CI

---------

Co-authored-by: a_bondar <[email protected]>
  • Loading branch information
abondar and a_bondar authored Jan 4, 2025
1 parent 8d37e40 commit 066a253
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,24 @@ on:
branches:
- main
pull_request:
branches-ignore:
- main
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install and configure Poetry
run: |
pip install -U pip poetry
poetry config virtualenvs.create false
- name: Install requirements
run: make deps
- name: Run lint
run: make lint

test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -30,4 +45,4 @@ jobs:
- name: Install requirements
run: make deps
- name: Run ci
run: make ci
run: make test
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: v3.15.2
hooks:
- id: pyupgrade
args: [ --py310-plus ]
args: [ --py311-plus ]

- repo: https://github.com/pycqa/autoflake
rev: v2.3.1
Expand All @@ -21,7 +21,7 @@ repos:
rev: 24.4.2
hooks:
- id: black
language_version: python3.10
language_version: python3.11

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
Expand Down

0 comments on commit 066a253

Please sign in to comment.