Skip to content

Commit eb5af66

Browse files
authored
Merge pull request #33 from Tieqiong/cmi
add cli
2 parents 434f7ee + ac2b4c3 commit eb5af66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2101
-109
lines changed

.github/workflows/matrix-and-codecov-on-merge-to-main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,23 @@ jobs:
1717
project: diffpy.cmi
1818
c_extension: false
1919
headless: false
20+
run: |
21+
set -Eeuo pipefail
22+
echo "Test cmds"
23+
cmi -h
24+
cmi env
25+
cmi pack list
26+
cmi profile list
27+
cmi install plotting
28+
if [ "${RUNNER_OS}" != "Windows" ]; then
29+
conda list | grep -i ipympl
30+
else
31+
source "$(cygpath -u "$CONDA")/etc/profile.d/conda.sh"
32+
conda activate test
33+
conda list | grep -i ipympl
34+
fi
35+
36+
echo "Running tests for diffpy.cmi dependencies"
37+
cmi install _tests
2038
secrets:
2139
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/tests-on-pr.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,23 @@ jobs:
1111
project: diffpy.cmi
1212
c_extension: false
1313
headless: false
14+
run: |
15+
set -Eeuo pipefail
16+
echo "Test cmds"
17+
cmi -h
18+
cmi env
19+
cmi pack list
20+
cmi profile list
21+
cmi install plotting
22+
if [ "${RUNNER_OS}" != "Windows" ]; then
23+
conda list | grep -i ipympl
24+
else
25+
source "$(cygpath -u "$CONDA")/etc/profile.d/conda.sh"
26+
conda activate test
27+
conda list | grep -i ipympl
28+
fi
29+
30+
echo "Running tests for diffpy.cmi dependencies"
31+
cmi install _tests
1432
secrets:
1533
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.rst

Lines changed: 0 additions & 1 deletion

README.rst

Lines changed: 34 additions & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)