From c9f4aa9c0de0489ecaf88c99fdb40b8c3cbe6f2a Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sun, 29 Oct 2023 20:08:17 +0100 Subject: [PATCH 1/3] Update .gitignore --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4f21eef4b..ccb49562c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ doc/_build/* doc/auto_examples/* build/* dist/* -*egg-info* \ No newline at end of file +*egg-info* +*.pyc +.spyproject/* +*__pycache__* \ No newline at end of file From ede024b55f5eb798e805a24b3d4381ac0ee2280b Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sun, 29 Oct 2023 20:36:01 +0100 Subject: [PATCH 2/3] run coverage --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a4599f132..9333cb5d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: - name: Run test suite run: | - pytest --pyargs exspy -n 2 + pytest --pyargs exspy -n 2 --cov=. --cov-report=xml - name: Upload coverage to Codecov if: ${{ always() }} From e2c7e9e02e854f56a9f023c074ad6332da1fbc7a Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sun, 29 Oct 2023 20:05:35 +0100 Subject: [PATCH 3/3] Add docs, github actions and codecov badges --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fb891cf77..c24ecc4e2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ +[![Tests](https://github.com/hyperspy/exspy/actions/workflows/tests.yml/badge.svg)](https://github.com/hyperspy/exspy/actions/workflows/tests.yml) +[![Docs](https://readthedocs.org/projects/exspy/badge/?version=latest)](https://exspy.readthedocs.io/en/latest/?badge=latest) +[![codecov](https://codecov.io/gh/hyperspy/exspy/graph/badge.svg?token=X7T3LE121Q)](https://codecov.io/gh/hyperspy/exspy) +[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) + **exSpy** is a Python package extending the functionality for multi-dimensional data analysis provided by the [HyperSpy](https://hyperspy.org) library. It is aimed at helping with the analysis of X-rays Energy Dispersive Spectroscopy (EDS)