File tree Expand file tree Collapse file tree 3 files changed +16
-14
lines changed
Expand file tree Collapse file tree 3 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 2828 steps :
2929 - name : Checkout repo
3030 uses : actions/checkout@v3
31-
31+
3232 - name : Setup micromamba
33- uses : mamba-org/provision-with- micromamba@main
33+ uses : mamba-org/setup- micromamba@v1
3434 with :
3535 environment-file : ${{ matrix.environment-file }}
3636 micromamba-version : ' latest'
37-
37+
38+ - name : Install esda
39+ run : pip install .
40+
3841 - name : Make Docs
3942 run : cd docs; make html
40-
43+
4144 - name : Commit Docs
4245 run : |
4346 git clone https://github.com/ammaraskar/sphinx-action-test.git --branch gh-pages --single-branch gh-pages
4952 git commit -m "Update documentation" -a || true
5053 # The above command will fail if no changes were present,
5154 # so we ignore the return code.
52-
55+
5356 - name : push to gh-pages
5457 uses : ad-m/github-push-action@master
5558 with :
Original file line number Diff line number Diff line change 5555 - name : checkout repo
5656 uses : actions/checkout@v3
5757 - name : setup micromamba
58- uses : mamba-org/provision-with- micromamba@main
58+ uses : mamba-org/setup- micromamba@v1
5959 with :
6060 micromamba-version : ' latest'
6161 environment-file : ${{ matrix.environment-file }}
62- channel-priority : ' flexible'
6362
6463 - name : install bleeding edge libpysal (Ubuntu / Python 3.10)
6564 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 uses : actions/setup-python@v4
2222 with :
2323 python-version : ' 3.x'
24-
25- - name : Install dependencies
24+
25+ - name : Build source and wheel distributions
2626 run : |
27- python -m pip install --upgrade pip
28- pip install setuptools wheel twine jupyter urllib3 pandas pyyaml
29- python setup.py sdist bdist_wheel
30-
27+ python -m pip install --upgrade build twine
28+ python -m build
29+ twine check --strict dist/*
30+
3131 - name : Create Release Notes
3232 uses : actions/github-script@v6
3333 with :
3737 tag_name: "${{ github.ref }}",
3838 generate_release_notes: true
3939 });
40-
40+
4141 - name : Publish distribution 📦 to PyPI
4242 uses : pypa/gh-action-pypi-publish@release/v1
4343 with :
You can’t perform that action at this time.
0 commit comments