Regenerate PySCF ddCOSMO/PCM testdata (#180) #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package | |
on: | |
push: | |
branches: [master] | |
tags: ['v*'] | |
workflow_dispatch: | |
jobs: | |
publish_pypi: | |
name: Publish 📦 to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
sudo apt-get install libopenblas-base | |
python -m pip install --user pyscf cppe wheel | |
python -m pip install --user -r requirements.txt | |
- name: Run tests | |
run: python setup.py test | |
- name: Build a source tarball | |
run: python setup.py sdist | |
- name: Publish distribution 📦 to PyPI | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
user: __token__ | |
password: ${{ secrets.pypi_password }} |