Skip to content

Commit 423ec99

Browse files
committed
♻️ refactor CI/CD
1 parent f11b540 commit 423ec99

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test-os-compatibility.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
os-tests:
10+
os-compatibility-tests:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
fail-fast: false
@@ -16,8 +16,8 @@ jobs:
1616
python-version: ["3.10"]
1717

1818
steps:
19-
- name: Checkout repository
20-
uses: actions/checkout@v3
19+
- name: Checkout code
20+
uses: actions/checkout@v4
2121

2222
- name: Set up Python ${{ matrix.python-version }} on ${{matrix.os}}
2323
uses: actions/setup-python@v4
@@ -27,13 +27,13 @@ jobs:
2727
- name: Install Poetry
2828
run: |
2929
curl -sSL https://install.python-poetry.org | python3 -
30-
echo "$HOME/.local/bin" >> $GITHUB_PATH
30+
echo "export PATH=\"$HOME/.local/bin:$PATH\"" >> $GITHUB_ENV
3131
32-
- name: Configure Poetry and install dependencies
33-
run: |
34-
poetry config virtualenvs.create false
35-
poetry install --no-interaction --with dev
32+
- name: Install poetry-dynamic-versioning plugin
33+
run: poetry self add "poetry-dynamic-versioning[plugin]"
34+
35+
- name: Install dependencies
36+
run: poetry install --no-interaction --no-ansi
3637

3738
- name: Run tests
38-
run: |
39-
poetry run pytest
39+
run: poetry run pytest

0 commit comments

Comments
 (0)