-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from Spin-Chemistry-Labs/131-move-anisotropy-…
…and-mary-to-a-new-experimentspy-module 131 move anisotropy and mary to a new experimentspy module
- Loading branch information
Showing
50 changed files
with
6,804 additions
and
675 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Coverage | ||
|
||
on: push | ||
jobs: | ||
run-radicalpy-coverage: | ||
name: Run coverage on RadicalPy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set up Python "3.11" 🐍 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
cache: 'pip' | ||
- name: Install packages 📦 | ||
run: >- | ||
python -m | ||
pip install -r requirements.txt | ||
- name: Install coverage | ||
run: >- | ||
python -m | ||
pip install coverage | ||
- name: Reset coverage | ||
run: >- | ||
coverage erase | ||
- name: Run coverage | ||
run: >- | ||
coverage run -a -m | ||
unittest | ||
discover -v | ||
- name: Run examples | ||
run: >- | ||
for file in $(ls examples/aniso*.py); do | ||
PYTHONPATH=. coverage run -a $file --fast | ||
done | ||
- name: Create report | ||
run: >- | ||
coverage report && coverage xml && ls -lrt | ||
- name: Code Coverage Report | ||
uses: irongut/[email protected] | ||
with: | ||
filename: coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.