Skip to content

Commit

Permalink
Merge 7f62466 into c6d23fb
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Aug 4, 2022
2 parents c6d23fb + 7f62466 commit aa34499
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/validate-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
uses: actions/download-artifact@v2
with:
name: setup-artifact
- run: |
- name: extract & lint
run: |
tar -xf mamba.tar.gz
cd mamba
source venv/bin/activate
Expand All @@ -59,7 +60,8 @@ jobs:
uses: actions/download-artifact@v2
with:
name: setup-artifact
- run: |
- name: extract & type check
run: |
tar -xf mamba.tar.gz
cd mamba
source venv/bin/activate
Expand All @@ -72,14 +74,17 @@ jobs:
uses: actions/download-artifact@v2
with:
name: setup-artifact
- run: |
- name: extract and test
run: |
tar -xf mamba.tar.gz
cd mamba
source venv/bin/activate
make test
coverage:
needs: setup
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: restore artificat
uses: actions/download-artifact@v2
Expand All @@ -90,10 +95,6 @@ jobs:
tar -xf mamba.tar.gz
cd mamba
source venv/bin/activate
make coverage
- name: upload to Codecov
uses: codecov/codecov-action@v3
with:
files: .coverage
working-directory: ./mamba/
env_vars: OS,PYTHON
coverage run -m unittest discover -v -s tests/
pip install coveralls
coveralls --service=github
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ neo-mamba
.. image:: https://img.shields.io/github/workflow/status/CityOfZion/neo-mamba/CI
:target: https://shields.io/

.. image:: https://codecov.io/gh/CityOfZion/neo-mamba/branch/master/graph/badge.svg
:target: https://codecov.io/gh/CityOfZion/neo-mamba
.. image:: https://coveralls.io/repos/github/CityOfZion/neo-mamba/badge.svg?branch=master
:target: https://coveralls.io/github/CityOfZion/neo-mamba?branch=master

.. image:: http://www.mypy-lang.org/static/mypy_badge.svg
:target: http://mypy-lang.org/
Expand Down

0 comments on commit aa34499

Please sign in to comment.