Skip to content

Commit 7c51316

Browse files
committed
recover removed actions
Signed-off-by: zjgemi <[email protected]>
1 parent 37d9411 commit 7c51316

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

.github/workflows/mirror_gitee.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 }}

.github/workflows/publish_conda.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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/[email protected]
15+
with:
16+
subdir: 'conda'
17+
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
18+
platforms: 'noarch'

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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 }}

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

0 commit comments

Comments
 (0)