Skip to content

Commit

Permalink
update(.github): change configure command
Browse files Browse the repository at this point in the history
  • Loading branch information
danila committed Feb 3, 2024
1 parent b2d2585 commit eb9b655
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand All @@ -28,26 +28,27 @@ jobs:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Lint with pre-commit
run: poetry run pre-commit run --all-files
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Test with pytest
run: poetry run pytest
# TODO: configure working with config and keys for jwt
# test:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install poetry
# run: pipx install poetry
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.12"
# cache: "poetry"
# cache-dependency-path: poetry.lock
# - name: Test with pytest
# run: poetry run pytest

0 comments on commit eb9b655

Please sign in to comment.