Skip to content

Commit

Permalink
update workflows to match other python projects
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerhutcherson committed Jan 23, 2025
1 parent 73a5de2 commit 1ac390b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches:
- main

env:
POETRY_VERSION: "1.8.3"

jobs:
check:
name: Style-check ${{ matrix.python-version }}
Expand All @@ -33,7 +36,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: ${{ env.POETRY_VERSION }}
- name: Install dependencies
run: |
poetry install --all-extras
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches:
- main

env:
POETRY_VERSION: "1.8.3"

jobs:
test:
name: Python ${{ matrix.python-version }} - ${{ matrix.connection }} [redis-stack ${{matrix.redis-stack-version}}]
Expand Down Expand Up @@ -36,7 +39,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: ${{ env.POETRY_VERSION }}

- name: Install dependencies
run: |
Expand Down Expand Up @@ -96,10 +99,3 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd docs/ && poetry run treon -v
- name: Publish coverage results
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false

0 comments on commit 1ac390b

Please sign in to comment.