Skip to content

Add access to chi2

Add access to chi2 #11

Workflow file for this run

# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build and Test daemonflux
on:
pull_request:
paths-ignore:
- 'doc/**'
- 'README.*'
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# Python version number must be string, otherwise 3.10 becomes 3.1
- os: windows-latest
python-version: "3.10"
- os: macos-latest
python-version: "3.8"
- os: ubuntu-latest
python-version: "3.9"
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Install package and deps
run: python -m pip install --prefer-binary -v .[test]
- name: Run tests
run: pytest -vv
- name: Build package
run: python -m build