Nidhal Baccouri
commited on
Commit
·
ddb99a8
1
Parent(s):
eeef6f3
updated workflows
Browse files
.github/workflows/release.yml
CHANGED
@@ -25,14 +25,16 @@ jobs:
|
|
25 |
|
26 |
steps:
|
27 |
- uses: actions/checkout@v2
|
28 |
-
|
29 |
-
|
|
|
|
|
30 |
- name: View poetry version
|
31 |
run: poetry --version
|
32 |
-
|
33 |
-
|
34 |
-
- name: Install dependencies
|
35 |
run: poetry install
|
|
|
36 |
- name: Build package
|
37 |
run: poetry build
|
38 |
|
|
|
25 |
|
26 |
steps:
|
27 |
- uses: actions/checkout@v2
|
28 |
+
|
29 |
+
- name: Install poetry
|
30 |
+
run: curl -sSL https://install.python-poetry.org | python3 -
|
31 |
+
|
32 |
- name: View poetry version
|
33 |
run: poetry --version
|
34 |
+
|
35 |
+
- name: Run install
|
|
|
36 |
run: poetry install
|
37 |
+
|
38 |
- name: Build package
|
39 |
run: poetry build
|
40 |
|
.github/workflows/test-release.yml
CHANGED
@@ -17,16 +17,15 @@ jobs:
|
|
17 |
|
18 |
steps:
|
19 |
- uses: actions/checkout@v2
|
20 |
-
|
21 |
-
|
|
|
|
|
22 |
- name: View poetry version
|
23 |
run: poetry --version
|
24 |
-
|
25 |
-
run: poetry update
|
26 |
- name: Update version
|
27 |
run: poetry version patch
|
28 |
-
- name: Install dependencies
|
29 |
-
run: poetry install
|
30 |
|
31 |
- name: Build package
|
32 |
run: poetry build
|
|
|
17 |
|
18 |
steps:
|
19 |
- uses: actions/checkout@v2
|
20 |
+
|
21 |
+
- name: Install poetry
|
22 |
+
run: curl -sSL https://install.python-poetry.org | python3 -
|
23 |
+
|
24 |
- name: View poetry version
|
25 |
run: poetry --version
|
26 |
+
|
|
|
27 |
- name: Update version
|
28 |
run: poetry version patch
|
|
|
|
|
29 |
|
30 |
- name: Build package
|
31 |
run: poetry build
|
.github/workflows/test.yml
CHANGED
@@ -25,12 +25,6 @@ jobs:
|
|
25 |
path: .venv
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
|
28 |
-
- name: Check poetry config
|
29 |
-
run: |
|
30 |
-
echo $HOME
|
31 |
-
ls $HOME -a
|
32 |
-
poetry config --list
|
33 |
-
|
34 |
- name: Install dependencies
|
35 |
run: |
|
36 |
poetry config virtualenvs.in-project true
|
|
|
25 |
path: .venv
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
- name: Install dependencies
|
29 |
run: |
|
30 |
poetry config virtualenvs.in-project true
|