Update deprecated import from scypi for gaussian window #107
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: Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
tests: | |
name: "Python ${{ matrix.python }}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
include: | |
- name: py310 | |
python: "3.10" | |
coverage: true | |
tox: py310 | |
- name: py311 | |
python: "3.11" | |
tox: py311 | |
- name: py312 | |
python: "3.12" | |
tox: py312 | |
steps: | |
- uses: "actions/checkout@v2" | |
- uses: "actions/setup-python@v4" | |
with: | |
python-version: "${{ matrix.python }}" | |
- name: "Install dependencies" | |
run: | | |
set -xe | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip setuptools wheel | |
- name: "Run tests" | |
run: | | |
pip install tox | |
tox -e ${{ matrix.tox }} | |
- name: "Run coverage" | |
if: matrix.coverage | |
run: | | |
python -m pip install --upgrade codecov | |
codecov |