File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,22 @@ jobs:
34
34
with :
35
35
python-version : " 3.9"
36
36
37
- - name : Install dependencies
37
+ - name : install build requirements
38
38
run : |
39
- pip install -r dev-requirements.txt
39
+ pip install build
40
40
pip freeze
41
41
42
- - name : Build distribution archives
42
+ - name : build release
43
43
run : |
44
- python setup.py sdist bdist_wheel
44
+ python -m build --sdist --wheel .
45
+ ls -l dist
46
+
47
+ # ref: https://github.com/actions/upload-artifact#readme
48
+ - uses : actions/upload-artifact@v3
49
+ with :
50
+ name : repo2docker-${{ github.sha }}
51
+ path : " dist/*"
52
+ if-no-files-found : error
45
53
46
54
# This step is only run when a new tag is pushed
47
55
# all previous steps always run in order to exercise them
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116
116
117
117
- name : Install repo2docker
118
118
run : |
119
- python setup.py bdist_wheel
119
+ python -m build --wheel .
120
120
pip install dist/*.whl
121
121
122
122
# add for mercurial tests
Original file line number Diff line number Diff line change
1
+ build
1
2
codecov
2
3
conda-lock
3
4
pre-commit
4
5
pytest-cov
5
6
pytest>=4.6
6
7
pyyaml
7
8
requests_mock
8
- wheel
You can’t perform that action at this time.
0 commit comments