Skip to content

Commit b82acf2

Browse files
committed
configuration for cosmic-ray
1 parent d6cb288 commit b82acf2

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

cosmic-ray.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -e
3+
4+
cosmic-ray init cosmic-ray.toml session.sqlite
5+
cosmic-ray baseline --report session.sqlite
6+
cr-report --show-output session.baseline.sqlite
7+
cosmic-ray exec session.sqlite
8+
cr-report session.sqlite
9+
cr-html session.sqlite > session.html

cosmic-ray.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[cosmic-ray]
2+
module-path = "src"
3+
python-version = ""
4+
timeout = 120.0
5+
exclude-modules = ['src/ecdsa/_version.py', 'src/ecdsa/test*']
6+
test-command = "pytest -x src/"
7+
8+
[cosmic-ray.execution-engine]
9+
name = "local"
10+
11+
[cosmic-ray.cloning]
12+
method = "copy"
13+
commands = []
14+
15+
[cosmic-ray.interceptors]
16+
enabled = [ "spor", "pragma_no_mutate", "operators-filter",]
17+
18+
[cosmic-ray.operators-filter]

0 commit comments

Comments
 (0)