Skip to content

Commit

Permalink
update ci yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vladNed committed Aug 28, 2024
1 parent 0ad8e72 commit 6b65b24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: 'read'
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
python-version: [ '3.9' ]
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -26,19 +26,19 @@ jobs:
run: |
pip install --upgrade pip
pip install -r requirements-build.txt
poetry install --only dev
poetry install
- name: Lint check
run: |
ruff format --check
python -m ruff format --check
test:
runs-on: ubuntu-latest
permissions:
contents: 'read'
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
python-version: [ '3.9' ]
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -52,8 +52,8 @@ jobs:
run: |
pip install --upgrade pip
pip install -r requirements-build.txt
poetry install --only dev
poetry install
- name: Run tests
run: |
pytest
python -m pytest
3 changes: 3 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[virtualenvs]
in-project = true
create = false

0 comments on commit 6b65b24

Please sign in to comment.