Skip to content

conv_tol crossref, remove PCM cavity files (#188) #82

conv_tol crossref, remove PCM cavity files (#188)

conv_tol crossref, remove PCM cavity files (#188) #82

Workflow file for this run

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@v4
- uses: actions/setup-python@v5
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: Install package
run: |
python -m pip install --user .[tests]
- name: Run python tests
run: |
python -m pytest adcc
- name: Build a source tarball
# in the future...
# run: python -m build --sdist
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 }}