Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PyFastANI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Larralde
PyFastANI
Commits
fae4a843
Commit
fae4a843
authored
2 years ago
by
Martin Larralde
Browse files
Options
Downloads
Patches
Plain Diff
Fix `package.yml` workflow not updating `setuptools` before testing wheels
parent
072af0da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/package.yml
+11
-3
11 additions, 3 deletions
.github/workflows/package.yml
setup.py
+1
-0
1 addition, 0 deletions
setup.py
with
12 additions
and
3 deletions
.github/workflows/package.yml
+
11
−
3
View file @
fae4a843
...
...
@@ -25,6 +25,10 @@ jobs:
pyo3-python
:
/opt/python/cp310-cp310/bin/python
-
python-version
:
pypy-3.7
pyo3-python
:
/opt/python/pp37-pypy37_pp73/bin/python
-
python-version
:
pypy-3.8
pyo3-python
:
/opt/python/pp38-pypy38_pp73/bin/python
-
python-version
:
pypy-3.9
pyo3-python
:
/opt/python/pp39-pypy39_pp73/bin/python
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
...
...
@@ -72,8 +76,10 @@ jobs:
with
:
name
:
dist
path
:
dist
-
name
:
Update pip
run
:
python -m pip install -U pip wheel setuptools
-
name
:
Install built wheel
run
:
python -m pip install --
no-index
--find-links=dist pyfastani
run
:
python -m pip install --
only-binary pyfastani
--find-links=dist pyfastani
-
name
:
Run tests without coverage
run
:
python -m unittest pyfastani.tests -vv
...
...
@@ -136,8 +142,10 @@ jobs:
with
:
name
:
dist
path
:
dist
-
name
:
Update pip
run
:
python -m pip install -U pip wheel setuptools
-
name
:
Install built wheel
run
:
python -m pip install --
no-index
--find-links=dist pyfastani
run
:
python -m pip install --
only-binary pyfastani
--find-links=dist pyfastani
-
name
:
Run tests without coverage
run
:
python -m unittest pyfastani.tests -vv
...
...
@@ -241,7 +249,7 @@ jobs:
path
:
dist/
-
name
:
Update pip to latest version
run
:
python -m pip install -U pip setuptools wheel
-
name
:
Install
built wheel
-
name
:
Install
source distribution
run
:
python -m pip install --no-binary pyfastani --find-links=dist pyfastani
-
name
:
Run tests without coverage
run
:
python -m unittest pyfastani.tests -vv
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
fae4a843
...
...
@@ -176,6 +176,7 @@ class build_clib(_build_clib):
def
_check_function
(
self
,
funcname
,
header
,
args
=
"
()
"
):
print
(
'
checking whether function
'
,
repr
(
funcname
),
'
is available
'
,
end
=
"
...
"
,
file
=
sys
.
stderr
)
self
.
mkpath
(
self
.
build_temp
)
base
=
"
have_{}
"
.
format
(
funcname
)
testfile
=
os
.
path
.
join
(
self
.
build_temp
,
"
{}.c
"
.
format
(
base
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment