File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ['3.8', '3.9', '3.10', '3.11']
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Install dependencies
22+ run : |
23+ pip install numpy scipy matplotlib pyvista codecov
24+ pip install -e .
25+ - name : Run tests
26+ run : coverage run -m vaspy.tests.test_all
27+ - name : Upload coverage
28+ run : codecov
Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
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@v4
13+ - name : Set up Python
14+ uses : actions/setup-python@v5
15+ with :
16+ python-version : ' 3.11'
17+ - name : Install build tools
18+ run : pip install build twine
19+ - name : Build package
20+ run : python -m build
21+ - name : Publish to PyPI
22+ run : twine upload dist/*
23+ env :
24+ TWINE_USERNAME : __token__
25+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22VASPy
33=====
44
5- .. image :: https://travis-ci.org /PytLab/VASPy. svg?branch=master
6- :target: https://travis-ci.org /PytLab/VASPy
5+ .. image :: https://github.com /PytLab/VASPy/actions/workflows/ci.yml/badge. svg
6+ :target: https://github.com /PytLab/VASPy/actions
77 :alt: Build Status
88
9- .. image :: https://landscape.io/github/PytLab/VASPy/master/landscape.svg?style=flat
10- :target: https://landscape.io/github/PytLab/VASPy/master
11- :alt: Code Health
12-
139.. image :: https://img.shields.io/codecov/c/github/PytLab/VASPy/master.svg
1410 :target: https://codecov.io/gh/PytLab/VASPy
11+ :alt: Coverage
1512
16- .. image :: https://img.shields.io/badge/python-3.5, 2.7 -green.svg
17- :target: https://www.python.org/downloads/release/python-351/
18- :alt: platform
13+ .. image :: https://img.shields.io/badge/python-3.8+ -green.svg
14+ :target: https://www.python.org/downloads/
15+ :alt: Python
1916
20- .. image :: https://img.shields.io/badge/pypi-v0.8.12 -blue.svg
21- :target: https://pypi.python. org/pypi /vaspy/
22- :alt: versions
17+ .. image :: https://img.shields.io/badge/pypi-v0.9.0 -blue.svg
18+ :target: https://pypi.org/project /vaspy/
19+ :alt: PyPI
2320
2421Introduction
2522------------
Original file line number Diff line number Diff line change 1515VASPy
1616=====
1717
18- .. image:: https://travis-ci.org /PytLab/VASPy. svg?branch=master
19- :target: https://travis-ci.org /PytLab/VASPy
18+ .. image:: https://github.com /PytLab/VASPy/actions/workflows/ci.yml/badge. svg
19+ :target: https://github.com /PytLab/VASPy/actions
2020 :alt: Build Status
2121
22- .. image:: https://landscape.io/github/PytLab/VASPy/master/landscape.svg?style=flat
23- :target: https://landscape.io/github/PytLab/VASPy/master
24- :alt: Code Health
25-
26- .. image:: https://codecov.io/gh/PytLab/VASPy/branch/master/graph/badge.svg
22+ .. image:: https://img.shields.io/codecov/c/github/PytLab/VASPy/master.svg
2723 :target: https://codecov.io/gh/PytLab/VASPy
24+ :alt: Coverage
2825
29- .. image:: https://img.shields.io/badge/python-3.5, 2.7 -green.svg
30- :target: https://www.python.org/downloads/release/python-351/
31- :alt: platform
26+ .. image:: https://img.shields.io/badge/python-3.8+ -green.svg
27+ :target: https://www.python.org/downloads/
28+ :alt: Python
3229
33- .. image:: https://img.shields.io/badge/pypi-v0.8.12 -blue.svg
34- :target: https://pypi.python. org/pypi /vaspy/
35- :alt: versions
30+ .. image:: https://img.shields.io/badge/pypi-v0.9.0 -blue.svg
31+ :target: https://pypi.org/project /vaspy/
32+ :alt: PyPI
3633
3734
3835Introduction
You can’t perform that action at this time.
0 commit comments