Skip to content

fix dft centroiding #56

fix dft centroiding

fix dft centroiding #56

Workflow file for this run

name: CI tests
on:
push:
branches: [main]
tags: ["*"]
pull_request:
branches: [main]
jobs:
test:
name: Python ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ["3.7", "3.8", "3.9"]
os:
- ubuntu-latest
arch: ["x64"]
steps:
- uses: n1hility/cancel-previous-runs@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Setup python ${{ matrix.version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.version }}
architecture: ${{ matrix.arch }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Run pytest
run: pytest --cov --cov-report xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true