summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-25 07:50:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-25 08:32:58 -0400
commit4da807c9a83aacaacefb67a1f9e12d312e6d1247 (patch)
tree3c6c0c907eadbc670c76ee94d38f38566c6768d6 /.github
parent52485aeb191df32ca5b8c255b4482de165174272 (diff)
downloadpython-coveragepy-git-4da807c9a83aacaacefb67a1f9e12d312e6d1247.tar.gz
build: avoid direct setup.py invocations
Also simplified the .pip files a bit.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/coverage.yml2
-rw-r--r--.github/workflows/kit.yml14
-rw-r--r--.github/workflows/quality.yml4
3 files changed, 12 insertions, 8 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index c15eac96..3ea67b2b 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -101,7 +101,7 @@ jobs:
set -xe
python -VV
python -m site
- python setup.py --quiet clean develop
+ python -m pip install -e .
python igor.py zip_mods
- name: "Download coverage data"
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index 0d467b21..5d6a7502 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -50,9 +50,9 @@ jobs:
with:
python-version: "3.8"
- - name: "Install cibuildwheel"
+ - name: "Install tools"
run: |
- python -m pip install -c requirements/pins.pip cibuildwheel
+ python -m pip install -r requirements/ci.pip
- name: "Build wheels"
env:
@@ -81,9 +81,13 @@ jobs:
with:
python-version: "3.8"
+ - name: "Install tools"
+ run: |
+ python -m pip install -r requirements/ci.pip
+
- name: "Build sdist"
run: |
- python setup.py sdist
+ python -m build
ls -al dist/
- name: "Upload sdist"
@@ -106,7 +110,7 @@ jobs:
- name: "Install requirements"
run: |
- pypy3 -m pip install -r requirements/wheel.pip
+ pypy3 -m pip install -r requirements/ci.pip
- name: "Build wheels"
run: |
@@ -146,7 +150,7 @@ jobs:
- name: "Install wheel tools"
run: |
- python -m pip install -r requirements/wheel.pip
+ python -m pip install -r requirements/ci.pip
- name: "Build wheel"
run: |
diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml
index 7df3c988..9b15dfca 100644
--- a/.github/workflows/quality.yml
+++ b/.github/workflows/quality.yml
@@ -39,7 +39,7 @@ jobs:
set -xe
python -VV
python -m site
- python -m pip install -c requirements/pins.pip tox
+ python -m pip install -r requirements/ci.pip
- name: "Tox lint"
run: |
@@ -63,7 +63,7 @@ jobs:
set -xe
python -VV
python -m site
- python -m pip install -c requirements/pins.pip tox
+ python -m pip install -r requirements/ci.pip
- name: "Tox doc"
run: |