File tree Expand file tree Collapse file tree 11 files changed +55
-101
lines changed Expand file tree Collapse file tree 11 files changed +55
-101
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
4
4
set -e -x
5
5
6
- python -m repo_helper make-recipe || exit 1
6
+ python -m repo_helper make-recipe || exit 1
7
7
8
- # Switch to miniconda
9
- source " /home/runner/miniconda/etc/profile.d/conda.sh"
10
- hash -r
11
- conda activate base
12
- conda config --set always_yes yes --set changeps1 no
13
- conda update -q conda
14
- conda install conda-build
15
- conda install anaconda-client
16
- conda info -a
8
+ # Switch to miniconda
9
+ source " /home/runner/miniconda/etc/profile.d/conda.sh"
10
+ hash -r
11
+ conda activate base
12
+ conda config --set always_yes yes --set changeps1 no
13
+ conda update -q conda
14
+ conda install conda-build
15
+ conda install anaconda-client
16
+ conda info -a
17
17
18
- conda config --add channels domdfcoding || exit 1
18
+ conda config --add channels domdfcoding || exit 1
19
19
20
- conda config --add channels conda-forge || exit 1
20
+ conda config --add channels conda-forge || exit 1
21
21
22
- conda build conda -c domdfcoding -c conda-forge --output-folder conda/dist --skip-existing
23
-
24
- fi
22
+ conda build conda -c domdfcoding -c conda-forge --output-folder conda/dist --skip-existing
25
23
26
24
exit 0
Original file line number Diff line number Diff line change 3
3
4
4
set -e -x
5
5
6
- # Switch to miniconda
7
- source " /home/runner/miniconda/etc/profile.d/conda.sh"
8
- hash -r
9
- conda activate base
10
- conda config --set always_yes yes --set changeps1 no
11
- conda update -q conda
12
- conda install anaconda-client
13
- conda info -a
6
+ # Switch to miniconda
7
+ source " /home/runner/miniconda/etc/profile.d/conda.sh"
8
+ hash -r
9
+ conda activate base
10
+ conda config --set always_yes yes --set changeps1 no
11
+ conda update -q conda
12
+ conda install anaconda-client
13
+ conda info -a
14
14
15
- for f in conda/dist/noarch/coverage_pyver_pragma-* .tar.bz2; do
16
- [ -e " $f " ] || continue
17
- echo " $f "
18
- conda install " $f " || exit 1
19
- echo " Deploying to Anaconda.org..."
20
- anaconda -t " $ANACONDA_TOKEN " upload " $f " || exit 1
21
- echo " Successfully deployed to Anaconda.org."
22
- done
23
-
24
- fi
15
+ for f in conda/dist/noarch/coverage_pyver_pragma-* .tar.bz2; do
16
+ [ -e " $f " ] || continue
17
+ echo " $f "
18
+ conda install " $f " || exit 1
19
+ echo " Deploying to Anaconda.org..."
20
+ anaconda -t " $ANACONDA_TOKEN " upload " $f " || exit 1
21
+ echo " Successfully deployed to Anaconda.org."
22
+ done
25
23
26
24
exit 0
Original file line number Diff line number Diff line change
1
+ # This file is managed by 'repo_helper'. Don't edit it directly.
2
+ ---
3
+ name : Artefact Cleaner
4
+ on :
5
+ schedule :
6
+ - cron : 0 9 1 * *
7
+ jobs :
8
+ Clean :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : cleanup
12
+ uses : glassechidna/artifact-cleaner@v2
13
+ with :
14
+ minimumAge : 1000000.0
Original file line number Diff line number Diff line change 12
12
name : " Conda"
13
13
runs-on : ubuntu-latest
14
14
15
- strategy :
16
-
17
15
steps :
18
16
- name : Checkout 🛎️
19
17
uses : " actions/checkout@v2"
Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ jobs:
143
143
144
144
- name : Build Conda 📦
145
145
run : |
146
- chmod +x .ci /actions_build_conda.sh
147
- bash .ci /actions_build_conda.sh
146
+ chmod +x .github /actions_build_conda.sh
147
+ bash .github /actions_build_conda.sh
148
148
149
149
- name : Deploy Conda 🚀
150
150
if : startsWith(github.ref, 'refs/tags/')
151
151
run : |
152
- chmod +x .ci /actions_deploy_conda.sh
153
- bash .ci /actions_deploy_conda.sh
152
+ chmod +x .github /actions_deploy_conda.sh
153
+ bash .github /actions_deploy_conda.sh
154
154
env :
155
155
ANACONDA_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ default_section = THIRDPARTY
14
14
; no_lines_before=LOCALFOLDER
15
15
known_third_party =
16
16
coverage
17
- domdf-python-tools
17
+ domdf_python_tools
18
18
flake8
19
19
github
20
20
pytest
21
- pytest-cov
22
- pytest-randomly
23
- pytest-rerunfailures
24
- pytest-timeout
21
+ pytest_cov
22
+ pytest_randomly
23
+ pytest_rerunfailures
24
+ pytest_timeout
25
25
requests
26
26
known_first_party = coverage_pyver_pragma
27
27
remove_redundant_aliases = True
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ sphinx-copybutton>=0.2.12
8
8
sphinx-notfound-page >= 0.5
9
9
sphinx-prompt >= 1.1.0
10
10
sphinx-tabs >= 1.1.13
11
- sphinx-toolbox >= 1.7.3
11
+ sphinx-toolbox >= 1.7.5
12
12
sphinxcontrib-httpdomain >= 1.7.0
13
13
sphinxemoji >= 0.1.6
14
14
toctree-plus >= 0.0.4
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ packages = find:
45
45
46
46
[options.packages.find]
47
47
exclude =
48
+ doc-source
48
49
tests
49
50
tests.*
50
- doc-source
51
51
52
52
[mypy]
53
53
python_version = 3.6
You can’t perform that action at this time.
0 commit comments