Skip to content

Commit 1ac390b

Browse files
update workflows to match other python projects
1 parent 73a5de2 commit 1ac390b

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- main
99

10+
env:
11+
POETRY_VERSION: "1.8.3"
12+
1013
jobs:
1114
check:
1215
name: Style-check ${{ matrix.python-version }}
@@ -33,7 +36,7 @@ jobs:
3336
- name: Install Poetry
3437
uses: snok/install-poetry@v1
3538
with:
36-
version: 1.8.3
39+
version: ${{ env.POETRY_VERSION }}
3740
- name: Install dependencies
3841
run: |
3942
poetry install --all-extras

.github/workflows/run_tests.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- main
99

10+
env:
11+
POETRY_VERSION: "1.8.3"
12+
1013
jobs:
1114
test:
1215
name: Python ${{ matrix.python-version }} - ${{ matrix.connection }} [redis-stack ${{matrix.redis-stack-version}}]
@@ -36,7 +39,7 @@ jobs:
3639
- name: Install Poetry
3740
uses: snok/install-poetry@v1
3841
with:
39-
version: 1.8.3
42+
version: ${{ env.POETRY_VERSION }}
4043

4144
- name: Install dependencies
4245
run: |
@@ -96,10 +99,3 @@ jobs:
9699
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
97100
run: |
98101
cd docs/ && poetry run treon -v
99-
100-
- name: Publish coverage results
101-
uses: codecov/codecov-action@v4
102-
with:
103-
token: ${{ secrets.CODECOV_TOKEN }}
104-
files: ./coverage.xml
105-
fail_ci_if_error: false

0 commit comments

Comments
 (0)