Skip to content

Commit

Permalink
Making test-all just test + minor README.md change
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranra committed Nov 21, 2024
1 parent 01ca058 commit 5b76d77
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ pytest-dep: ## Run tests on the Python package only for optional dependencies. A
# # TODO: update and install docs requirements
# @cd python/ && $(VENV_BIN)/pytest docs --doctest-glob=*.rst --doctest-continue-on-failure

.PHONY: test-all
test-all: rstest pytest pytest-dep ## Run all tests. ASSUMES: previous build command
.PHONY: test
test: rstest pytest pytest-dep ## Run all tests. ASSUMES: previous build command

# Utility
# -------
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ You may find most of these crates in crates.io if you wish to utilize only a par

We follow semantic versioning principles. However, before version 1.0.0, the MAJOR.MINOR.BUG format sees the roles
of MAJOR and MINOR shifted down a step. This means potential breaking changes might occur between MINOR increments, such
as moving from versions 0.1.0 to 0.2.0. All Python packages and all Rust crates will have the same version amongst their
as moving from versions 0.1.0 to 0.2.0.

All Python packages and all Rust crates will have the same version amongst their
respective languages; however, Python and Rust versioning will differ.

## Latest Development
Expand Down
2 changes: 1 addition & 1 deletion dev_steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For developers who want to contribute or modify PECOS:

5. Run all Python and Rust tests:
```sh
make test-all
make test
```
Note: Make sure you have ran a build command before running tests.

Expand Down
10 changes: 10 additions & 0 deletions python/docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* custom.css */
[data-theme="dark"] .table {
background-color: #232b33;
}

[data-theme="dark"] .table th,
[data-theme="dark"] .table td {
background-color: #232b33;
border-bottom-color: #506071;
}
8 changes: 8 additions & 0 deletions python/docs/_static/mathconf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MathJax.Hub.Config({
TeX: {
Macros: {
RR: '{\\bf R}',
ket: ['{| #1 \rangle}', 1],
}
}
})

0 comments on commit 5b76d77

Please sign in to comment.