File tree Expand file tree Collapse file tree 6 files changed +22
-10
lines changed Expand file tree Collapse file tree 6 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 35
35
- name : Test
36
36
shell : bash -l {0}
37
37
run : |
38
- pip install --no-deps .
38
+ pip install versioneer[toml]==0.29
39
+ pip install . --no-deps --no-build-isolation
39
40
coverage run --omit pysqa/_version.py -m unittest discover tests
40
41
coverage combine
41
42
- name : Coveralls
Original file line number Diff line number Diff line change @@ -19,16 +19,23 @@ jobs:
19
19
id-token : write
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- - uses : actions /setup-python@v4
22
+ -
uses :
conda-incubator /setup-[email protected]
23
23
with :
24
- python-version : " 3.11"
25
- - name : Install dependencies
26
- run : python -m pip install --user --upgrade jinja2 pandas pyyaml setuptools wheel versioneer
24
+ python-version : 3.11
25
+ mamba-version : " *"
26
+ channels : conda-forge
27
+ miniforge-variant : Mambaforge
28
+ channel-priority : strict
29
+ auto-update-conda : true
30
+ environment-file : .ci_support/environment.yml
27
31
- name : Convert dependencies
28
32
run : |
29
33
cp .ci_support/environment-old.yml environment.yml
30
34
python .ci_support/release.py; cat pyproject.toml
31
35
- name : Build
32
- run : python setup.py sdist bdist_wheel
36
+ shell : bash -l {0}
37
+ run : |
38
+ pip install versioneer[toml]==0.29
39
+ python setup.py sdist bdist_wheel
33
40
- name : Publish distribution 📦 to PyPI
34
41
uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 34
34
- name : Test
35
35
shell : bash -l {0}
36
36
run : |
37
- pip install --no-deps .
37
+ pip install versioneer[toml]==0.29
38
+ pip install . --no-deps --no-build-isolation
38
39
python -m unittest discover tests
Original file line number Diff line number Diff line change 28
28
- name : Pip check
29
29
shell : bash -l {0}
30
30
run : |
31
- pip install --no-deps .
31
+ pip install versioneer[toml]==0.29
32
+ pip install . --no-deps --no-build-isolation
32
33
pip check
Original file line number Diff line number Diff line change 60
60
- name : Test
61
61
shell : bash -l {0}
62
62
run : |
63
- pip install --no-deps .
63
+ pip install versioneer[toml]==0.29
64
+ pip install . --no-deps --no-build-isolation
64
65
python -m unittest discover tests
Original file line number Diff line number Diff line change 27
27
- name : Test
28
28
shell : bash -l {0}
29
29
run : |
30
- pip install --no-deps .
30
+ pip install versioneer[toml]==0.29
31
+ pip install . --no-deps --no-build-isolation
31
32
python -m unittest discover tests
You can’t perform that action at this time.
0 commit comments