Skip to content

Commit 395f6fe

Browse files
author
Dani Reinón
committed
ci(fix): bump poetry version
1 parent 29dd945 commit 395f6fe

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.github/workflows/ci.yml

+20-15
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,27 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest]
11-
python-version: [3.7, 3.8, 3.9, '3.10']
11+
python-version: [3.7, 3.8, 3.9, "3.10"]
1212
runs-on: ${{ matrix.os }}
1313
steps:
14-
- name: Clone Repository
15-
uses: actions/checkout@v2
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Set up Poetry
21-
uses: abatilo/[email protected]
22-
with:
23-
poetry-version: 1.1.12
24-
- name: Run Tests
25-
run: make run_tests
26-
- name: Upload Coverage
27-
uses: codecov/codecov-action@v1
14+
- name: Clone Repository
15+
uses: actions/checkout@v2
16+
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Set up Poetry
23+
uses: abatilo/[email protected]
24+
with:
25+
poetry-version: 1.2.0b1
26+
27+
- name: Run Tests
28+
run: make run_tests
29+
30+
- name: Upload Coverage
31+
uses: codecov/codecov-action@v1
2832

2933
publish:
3034
needs: test
@@ -37,6 +41,7 @@ jobs:
3741
with:
3842
ref: ${{ github.ref }}
3943
fetch-depth: 0
44+
4045
- name: Python Semantic Release
4146
uses: relekang/python-semantic-release@master
4247
with:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ version_variable = "supabase/__version__.py:__version__"
3838
version_toml = "pyproject.toml:tool.poetry.version"
3939
major_on_zero = false
4040
commit_subject = "chore(release): bump version to v{version}"
41-
build_command = "curl -sSL https://install.python-poetry.org | python - && export PATH=\"/github/home/.local/bin:$PATH\" && poetry install && poetry build"
41+
build_command = "curl -sSL https://install.python-poetry.org | python - --preview && export PATH=\"/github/home/.local/bin:$PATH\" && poetry install && poetry build"
4242
upload_to_repository = true
4343
branch = "develop"
4444
changelog_components = "semantic_release.changelog.changelog_headers,semantic_release.changelog.compare_url"

0 commit comments

Comments
 (0)