File tree Expand file tree Collapse file tree 4 files changed +63
-0
lines changed Expand file tree Collapse file tree 4 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Mirror to Gitee Repo
2+
3+ on : [ push, delete, create ]
4+
5+ # Ensures that only one mirror task will run at a time.
6+ concurrency :
7+ group : git-mirror
8+
9+ jobs :
10+ git-mirror :
11+ uses : deepmodeling/workflows/.github/workflows/mirror_gitee.yml@main
12+ secrets :
13+ SYNC_GITEE_PRIVATE_KEY : ${{ secrets.SYNC_GITEE_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1+ name : publish_conda
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : publish-to-conda
14+ uses : felix5572/conda-publish-action@v1.9
15+ with :
16+ subdir : ' conda'
17+ anacondatoken : ${{ secrets.ANACONDA_TOKEN }}
18+ platforms : ' noarch'
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Release to pypi
3+ jobs :
4+ release-to-pypi :
5+ uses : deepmodeling/workflows/.github/workflows/release-to-pypi.yml@main
6+ secrets :
7+ PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change 1+ name : Python package
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ python-version :
13+ - 3.7
14+ - 3.8
15+ - 3.9
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v2
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ - run : pip install . coverage
23+ - name : Test
24+ run : coverage run --source=./dpdispatcher -m unittest -v && coverage report
25+ - uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments