Skip to content

Commit

Permalink
Continuous Deployment (#155)
Browse files Browse the repository at this point in the history
* add initial CI setup to develop branch to trigger tests

* Release preparation (#146)

* set fixed package versions

* fixed discrepancy

* test with v3.4.0 of matplotlib

* lowered packages versions for python 3.6 support

* fixed nibabel version

* test github actions

* test running examples

* exclude example tests from nosetests

* fixed script name

* install pysap before running examples

* PySAP installation updates (#150)

* updated conda env

* updated environment

* updated conda env

* removed tensorflow from env

* added pynfft to env

* added Dockerfile

* removed test lines from Dockerfile

* Plug-in versions (#149)

* set plug-in and modopt versions for next release

* updated pysap-mri version

* Added new examples (#152)

Co-authored-by: chaithyagr <[email protected]>
Co-authored-by: Samuel Farrens <[email protected]>

* Release clean up (#151)

* updated readme

* fixed typos

* updated docker instructions

* updated readthedocs to use conda env

* updated nosetests to provide XML outputs (#153)

* updated nosetests to provide XML outputs

* added Docker badge

* Update README.rst

* Update README.rst

* Update ci-build.yml

* Update setup.cfg

* test adding pysphinxdoc

* added CD build

Co-authored-by: Chaithya G R <[email protected]>
Co-authored-by: chaithyagr <[email protected]>
  • Loading branch information
3 people authored Apr 24, 2021
1 parent aa2e26e commit 894a82a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/cd-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CD

on:
push:
branches:
- master
- main

jobs:

coverage:
name: Deploy Coverage Results
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Conda with Python 3.8
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.8
auto-activate-base: false

- name: Install Package Dependencies
shell: bash -l {0}
run: |
python --version
python -m pip install --upgrade pip
python -m pip install nose nose-exclude coverage pycodestyle
- name: Run Tests
shell: bash -l {0}
run: |
python setup.py nosetests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
flags: unittests
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
python --version
python -m pip install --upgrade pip
python -m pip install nose nose-exclude coverage coveralls pycodestyle
python -m pip install nose nose-exclude coverage pycodestyle
python -m pip install twine
- name: Run Tests
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
run: |
python --version
python -m pip install --upgrade pip
python -m pip install nose nose-exclude coverage coveralls pycodestyle
python -m pip install nose nose-exclude coverage pycodestyle
- name: Run Tests
shell: bash -l {0}
Expand Down

0 comments on commit 894a82a

Please sign in to comment.