Skip to content

Commit e8af88f

Browse files
authored
Merge pull request #25 from stevenhua0320/setup-CI-5
skpkg: add CI and issue/PR templates
2 parents 0a9bd9f + 8dd9705 commit e8af88f

File tree

2 files changed

+85
-20
lines changed

2 files changed

+85
-20
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Tests on PR
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
tests-on-pr:
9+
uses: scikit-package/release-scripts/.github/workflows/_tests-on-pr-no-codecov.yml@v0
10+
with:
11+
project: diffpy.srxplanargui
12+
c_extension: false
13+
headless: false
14+
run: |
15+
conda install pre-commit
16+
pre-commit run --all-files

.gitignore

Lines changed: 69 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,93 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
13
*.py[cod]
4+
*$py.class
25

36
# C extensions
47
*.so
58

6-
# Packages
7-
*.egg
8-
*.egg-info
9-
dist
10-
build
11-
eggs
12-
parts
13-
bin
14-
var
15-
sdist
16-
temp
17-
develop-eggs
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
_build/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
venv/
25+
*.egg-info/
1826
.installed.cfg
19-
lib
20-
lib64
21-
tags
27+
*.egg
28+
bin/
29+
temp/
30+
tags/
2231
errors.err
2332

33+
# PyInstaller
34+
# Usually these files are written by a python script from a template
35+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36+
*.manifest
37+
*.spec
38+
2439
# Installer logs
2540
pip-log.txt
41+
pip-delete-this-directory.txt
2642
MANIFEST
2743

2844
# Unit test / coverage reports
45+
htmlcov/
46+
.tox/
2947
.coverage
30-
.tox
48+
.coverage.*
49+
.cache
3150
nosetests.xml
51+
coverage.xml
52+
*,cover
53+
.hypothesis/
3254

3355
# Translations
3456
*.mo
57+
*.pot
3558

3659
# Mr Developer
3760
.mr.developer.cfg
3861
.project
3962
.pydevproject
40-
.settings
4163

42-
# version information
43-
setup.cfg
44-
/dpx/srxplanargui/version.cfg
64+
# Django stuff:
65+
*.log
66+
67+
# Sphinx documentation
68+
docs/build/
69+
docs/source/generated/
70+
71+
# pytest
72+
.pytest_cache/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Editor files
78+
# mac
79+
.DS_Store
80+
*~
81+
82+
# vim
83+
*.swp
84+
*.swo
85+
86+
# pycharm
87+
.idea/
88+
89+
# VSCode
90+
.vscode/
91+
92+
# Ipython Notebook
93+
.ipynb_checkpoints

0 commit comments

Comments
 (0)