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
aee025ea
Commit
aee025ea
authored
Sep 24, 2022
by
Mathieu Kniewallner
Committed by
Bjorn Neergaard
Sep 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: define `timeout` on macOS
Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
parent
31ef8d78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
.github/workflows/main.yml
+6
-1
No files found.
.github/workflows/main.yml
View file @
aee025ea
...
@@ -81,7 +81,12 @@ jobs:
...
@@ -81,7 +81,12 @@ jobs:
-
name
:
Ensure cache is healthy
-
name
:
Ensure cache is healthy
if
:
steps.cache.outputs.cache-hit == 'true'
if
:
steps.cache.outputs.cache-hit == 'true'
run
:
timeout 10s poetry run pip --version || rm -rf .venv
run
:
|
# `timeout` is not available on macOS, so we define a custom function.
[ "$(command -v timeout)" ] || function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
# Using `timeout` is a safeguard against the Poetry command hanging for some reason.
timeout 10s poetry run pip --version || rm -rf .venv
# XXX: https://github.com/pypa/pip/issues/11352 causes random failures -- remove once fixed in a release.
# XXX: https://github.com/pypa/pip/issues/11352 causes random failures -- remove once fixed in a release.
-
name
:
Upgrade pip on 3.11 for macOS
-
name
:
Upgrade pip on 3.11 for macOS
...
...
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