Skip to content

Commit

Permalink
Merge pull request #22 from Becksteinlab/ci-update
Browse files Browse the repository at this point in the history
- only run cron once a week (this is a low traffic repo so no need to check
  every day, let's save some energy here)
- do not fail when codecov fails
- close #20
- update RTD config file to v2
  • Loading branch information
orbeckst committed Sep 1, 2021
2 parents 805689b + dd7c8f3 commit aa08952
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI

on:
# run once a day at 3:33 UTC
# run every Sunday at 3:33 UTC
schedule:
- cron: "33 3 * * *"
- cron: "33 3 * * 0"
push:
branches:
- "master"
Expand Down Expand Up @@ -73,4 +73,4 @@ jobs:
with:
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
file: ./coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
fail_on_warning: false

# Optionally build your docs in additional formats such as PDF
formats:
- pdf

# Optionally set the version of Python and requirements required to build your docs
python:
version: "3.8"
install:
- requirements: docs/requirements.txt
system_packages: True
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy>=1.9
scipy
4 changes: 0 additions & 4 deletions environment.yml

This file was deleted.

6 changes: 0 additions & 6 deletions readthedocs.yml

This file was deleted.

0 comments on commit aa08952

Please sign in to comment.