Skip to content

Commit

Permalink
Merge pull request #46 from swryan/coverage
Browse files Browse the repository at this point in the history
Update README and test/coverage badges.
  • Loading branch information
swryan authored Mar 13, 2023
2 parents 65965fb + 87d7aa3 commit 0504334
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/CADRE_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,28 @@ jobs:
echo "Run tests (from directory other than repo root)"
echo "============================================================="
cd $HOME
testflo -n 1 CADRE --timeout=120 --show_skipped
testflo -n 1 CADRE --timeout=120 --show_skipped --coverage --coverpkg CADRE
- name: Submit coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: "github"
COVERALLS_PARALLEL: true
run: |
echo "============================================================="
echo "Submit coverage"
echo "============================================================="
cd $HOME
python -m pip install coveralls
SITE_DIR=`python -c 'import site; print(site.getsitepackages()[-1])'`
coveralls --basedir $SITE_DIR
coveralls:
name: Finish coverage
needs: [CADRE_tests]
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

[![Build Status](https://travis-ci.org/OpenMDAO/CADRE.svg?branch=master)](https://travis-ci.org/OpenMDAO/CADRE) [![Coverage Status](https://coveralls.io/repos/github/OpenMDAO/CADRE/badge.svg?branch=master)](https://coveralls.io/github/OpenMDAO/CADRE?branch=master)

[![GitHub Actions Test Badge][1]][2]
[![Coveralls Badge][3]][4]

CADRE CubeSat design problem
----------------------------

This is the implementation for OpenMDAO 2.x. It is currently a work in progress.
This is an implementation of the CADRE CubeSat problem for OpenMDAO 3.x.

It is no longer in active development.

Instructions for the latest development version:

Expand All @@ -16,13 +16,16 @@ Instructions for the latest development version:

`pip install -e .`


You will also need MBI:

`pip install git+https://github.com/OpenMDAO/MBI`


And for parallel execution you will need petsc4py:

`pip install petsc4py`

[1]: https://github.com/OpenMDAO/CADRE/actions/workflows/CADRE_test_workflow.yml/badge.svg "Github Actions Badge"
[2]: https://github.com/OpenMDAO/CADRE/actions "Github Actions"

[3]: https://coveralls.io/repos/github/OpenMDAO/CADRE/badge.svg?branch=master "Coverage Badge"
[4]: https://coveralls.io/github/OpenMDAO/CADRE?branch=master "CADRE @Coveralls"

0 comments on commit 0504334

Please sign in to comment.