Skip to content

Clarify which gamma values correspond to which lapse #10

Clarify which gamma values correspond to which lapse

Clarify which gamma values correspond to which lapse #10

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
build:
name: build (${{ matrix.python-version }})
runs-on: "ubuntu-latest"
strategy:
fail-fast: false # Whether to stop execution of other instances
max-parallel: 2
matrix:
python-version: ["3.7", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: setup
run: |
python -m pip install --upgrade pip
pip install coverage coveralls
pip install scipy numpy
pip install -e .
- name: run tests
run: |
coverage run --omit=*tests.py -m unittest psychofit_tests.py
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}
COVERALLS_PARALLEL: true
coveralls:
name: Indicate completion to coveralls.io
needs: build
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}