Skip to content

Package modernisation: Python >= 3.9, pyproject.toml, tox #108

Package modernisation: Python >= 3.9, pyproject.toml, tox

Package modernisation: Python >= 3.9, pyproject.toml, tox #108

Workflow file for this run

name: Run tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: |
'3.9'
'3.10'
'3.12'
- name: Install dependencies
run: |
sudo apt-get install libblas-dev liblapack-dev libxc-dev
python -m pip install --upgrade pip
python -m pip install tox coveralls
- name: Test with tox / unittest / coverage
run: |
tox
- name: Upload coverage data
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github