Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
4ebcd828
Commit
4ebcd828
authored
Feb 19, 2021
by
Sébastien Eustace
Committed by
Arun Babu Neelicattu
Mar 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement a new bootstrapping method
parent
73794792
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
.github/workflows/main.yml
+15
-8
install-poetry.py
+0
-0
No files found.
.github/workflows/main.yml
View file @
4ebcd828
...
...
@@ -39,14 +39,21 @@ jobs:
-
name
:
Bootstrap poetry
shell
:
bash
run
:
|
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install .
run
:
python install-poetry.py -y
-
name
:
Update PATH
if
:
${{ matrix.os != 'Windows' }}
shell
:
bash
run
:
echo "$HOME/.local/bin" >> $GITHUB_PATH
-
name
:
Update Path for Windows
if
:
${{ matrix.os == 'Windows' }}
shell
:
bash
run
:
echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
-
name
:
Configure poetry
shell
:
bash
run
:
p
ython -m p
oetry config virtualenvs.in-project
true
run
:
poetry config virtualenvs.in-project
true
-
name
:
Set up cache
uses
:
actions/cache@v2
...
...
@@ -58,12 +65,12 @@ jobs:
-
name
:
Ensure cache is healthy
if
:
steps.cache.outputs.cache-hit == 'true'
shell
:
bash
run
:
timeout 10s p
ython -m p
oetry run pip --version || rm -rf .venv
run
:
timeout 10s poetry run pip --version || rm -rf .venv
-
name
:
Install dependencies
shell
:
bash
run
:
p
ython -m p
oetry install
run
:
poetry install
-
name
:
Run pytest
shell
:
bash
run
:
p
ython -m p
oetry run python -m pytest -p no:sugar -q tests/
run
:
poetry run python -m pytest -p no:sugar -q tests/
install-poetry.py
0 → 100644
View file @
4ebcd828
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment