Skip to content

Fix tests, bump python version to 3.11 #122

Fix tests, bump python version to 3.11

Fix tests, bump python version to 3.11 #122

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '**'
pull_request:
jobs:
tests:
name: test coverage
strategy:
matrix:
include:
- python-version: "3.11"
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: show the code 1
run: |
cat mutis/signal.py
- name: create and activate env
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: mutis
environment-file: environment.yml
- name: install mutis
run: |
pip install -e .
- name: show the code 2
run: |
cat mutis/signal.py
- name: test coverage
run: |
make test-cov
codecov -X gcov
# docs:
# defaults:
# run:
# shell: bash -l {0}
# name: docs building
# runs-on: ubuntu-latest
# steps:
# - name: checkout repo
# uses: actions/checkout@v4
# - name: create and activate env
# uses: conda-incubator/setup-miniconda@v3
# with:
# activate-environment: mutis
# environment-file: environment.yml
# - name: install mutis
# run: |
# pip install -e .
# - name: build docs
# run: |
# make docs-sphinx