Skip to content

Commit 3ed3ec6

Browse files
authored
Merge pull request #13 from jpvantassel/dev
In preparation for v0.1.2
2 parents a9fdd0f + ffb580d commit 3ed3ec6

File tree

124 files changed

+41715
-41586
lines changed

Some content is hidden

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

124 files changed

+41715
-41586
lines changed

.circleci/config.yml

Lines changed: 106 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,106 @@
1-
version: 2.1
2-
3-
orbs:
4-
coverage-reporter: codacy/[email protected]
5-
codecov: codecov/[email protected]
6-
7-
workflows:
8-
build:
9-
jobs:
10-
- test-36:
11-
context:
12-
- docker
13-
- test-37:
14-
context:
15-
- docker
16-
- test-38:
17-
context:
18-
- docker
19-
- test-39:
20-
context:
21-
- docker
22-
- test-310:
23-
context:
24-
- docker
25-
26-
jobs:
27-
test-36: &test-template
28-
docker:
29-
- image: cimg/python:3.6.9
30-
auth:
31-
username: jpvantassel
32-
password: $DOCKER_PASS
33-
working_directory: ~/repo
34-
steps:
35-
- checkout
36-
- run:
37-
name: Create virtualenv
38-
command: |
39-
virtualenv venv
40-
. venv/bin/activate
41-
mkdir test-results
42-
- run:
43-
name: Install numpy
44-
command: |
45-
. venv/bin/activate
46-
pip install numpy
47-
- run:
48-
name: Install sigpropy from source
49-
command: |
50-
. venv/bin/activate
51-
pip install git+ssh://[email protected]/jpvantassel/sigpropy.git
52-
- run:
53-
name: Install swprocess and dependencies
54-
command: |
55-
. venv/bin/activate
56-
pip install -e .[dev]
57-
- run:
58-
name: Run tests
59-
command: |
60-
. venv/bin/activate
61-
cd test
62-
coverage run --source=../swprocess -m unittest
63-
- run:
64-
name: Create coverage xml
65-
command: |
66-
. venv/bin/activate
67-
mv test/.coverage test-results
68-
cd test-results
69-
coverage xml -o cobertura.xml
70-
- store_test_results:
71-
path: test-results
72-
- store_artifacts:
73-
path: test-results
74-
- codecov/upload:
75-
file: test-results/cobertura.xml
76-
- coverage-reporter/send_report
77-
78-
test-37:
79-
<<: *test-template
80-
docker:
81-
- image: cimg/python:3.7.5
82-
auth:
83-
username: jpvantassel
84-
password: $DOCKER_PASS
85-
86-
test-38:
87-
<<: *test-template
88-
docker:
89-
- image: cimg/python:3.8.10
90-
auth:
91-
username: jpvantassel
92-
password: $DOCKER_PASS
93-
94-
test-39:
95-
<<: *test-template
96-
docker:
97-
- image: cimg/python:3.9.6
98-
auth:
99-
username: jpvantassel
100-
password: $DOCKER_PASS
101-
102-
test-310:
103-
<<: *test-template
104-
docker:
105-
- image: cimg/python:3.10.2
106-
auth:
107-
username: jpvantassel
108-
password: $DOCKER_PASS
1+
version: 2.1
2+
3+
orbs:
4+
coverage-reporter: codacy/[email protected]
5+
codecov: codecov/[email protected]
6+
7+
workflows:
8+
build:
9+
jobs:
10+
- test-37:
11+
context:
12+
- docker
13+
- test-38:
14+
context:
15+
- docker
16+
- test-39:
17+
context:
18+
- docker
19+
- test-310:
20+
context:
21+
- docker
22+
- test-311:
23+
context:
24+
- docker
25+
26+
jobs:
27+
test-37: &test-template
28+
docker:
29+
- image: cimg/python:3.7.16
30+
auth:
31+
username: jpvantassel
32+
password: $DOCKER_PASS
33+
working_directory: ~/repo
34+
steps:
35+
- checkout
36+
- run:
37+
name: Create virtualenv
38+
command: |
39+
virtualenv venv
40+
. venv/bin/activate
41+
mkdir test-results
42+
- run:
43+
name: Install numpy
44+
command: |
45+
. venv/bin/activate
46+
pip install numpy
47+
- run:
48+
name: Install sigpropy from source
49+
command: |
50+
. venv/bin/activate
51+
pip install git+ssh://[email protected]/jpvantassel/sigpropy.git
52+
- run:
53+
name: Install swprocess and dependencies
54+
command: |
55+
. venv/bin/activate
56+
pip install -e .[dev]
57+
- run:
58+
name: Run tests
59+
command: |
60+
. venv/bin/activate
61+
cd test
62+
coverage run --source=../swprocess -m unittest
63+
- run:
64+
name: Create coverage xml
65+
command: |
66+
. venv/bin/activate
67+
mv test/.coverage test-results
68+
cd test-results
69+
coverage xml -o cobertura.xml
70+
- codecov/upload:
71+
file: test-results/cobertura.xml
72+
- coverage-reporter/send_report:
73+
coverage-reports: test-results/cobertura.xml
74+
75+
test-38:
76+
<<: *test-template
77+
docker:
78+
- image: cimg/python:3.8.16
79+
auth:
80+
username: jpvantassel
81+
password: $DOCKER_PASS
82+
83+
test-39:
84+
<<: *test-template
85+
docker:
86+
- image: cimg/python:3.9.16
87+
auth:
88+
username: jpvantassel
89+
password: $DOCKER_PASS
90+
91+
test-310:
92+
<<: *test-template
93+
docker:
94+
- image: cimg/python:3.10.10
95+
auth:
96+
username: jpvantassel
97+
password: $DOCKER_PASS
98+
99+
test-311:
100+
<<: *test-template
101+
docker:
102+
- image: cimg/python:3.11.3
103+
auth:
104+
username: jpvantassel
105+
password: $DOCKER_PASS
106+

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Files
1+
# Files
22
*.ipynb linguist-documentation

.gitignore

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
__pycache__
2-
.ipynb_checkpoints
3-
*.egg-info
4-
.vscode
5-
scratch
6-
.tox
7-
build
8-
dist
9-
test/htmlcov
10-
test/.coverage
11-
test/.tmp_profiler_run
12-
examples/active.json
13-
test/data/mspac/c0
14-
binout*
15-
vis_traces.ipynb
16-
set*.csv
17-
masw.k
18-
docs/html
19-
debug.log
20-
*.target
21-
examples/masw/*.png
22-
examples/masw/*.json
23-
examples/mam/*.json
24-
examples/stats/*.txt
25-
examples/stats/*.json
26-
examples/mam/data/*/*.miniseed
1+
__pycache__
2+
.ipynb_checkpoints
3+
*.egg-info
4+
.vscode
5+
scratch
6+
.tox
7+
build
8+
dist
9+
test/htmlcov
10+
test/.coverage
11+
test/.tmp_profiler_run
12+
examples/active.json
13+
test/data/mspac/c0
14+
binout*
15+
vis_traces.ipynb
16+
set*.csv
17+
masw.k
18+
docs/html
19+
debug.log
20+
*.target
21+
examples/masw/*.png
22+
examples/masw/*.json
23+
examples/mam/*.json
24+
examples/stats/*.txt
25+
examples/stats/*.json
26+
examples/mam/data/*/*.miniseed

.readthedocs.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# .readthedocs.yml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
6-
version: 2
7-
8-
# Build documentation in the docs/ directory with Sphinx
9-
sphinx:
10-
configuration: docs/conf.py
11-
12-
# Optionally build your docs in additional formats such as PDF and ePub
13-
formats: all
14-
15-
# Optionally set the version of Python and requirements required to build your docs
16-
python:
17-
version: 3.7
18-
install:
19-
- requirements: requirements.txt
20-
- method: pip
21-
path: .
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: docs/conf.py
11+
12+
# Optionally build your docs in additional formats such as PDF and ePub
13+
formats: all
14+
15+
# Optionally set the version of Python and requirements required to build your docs
16+
python:
17+
version: 3.7
18+
install:
19+
- requirements: requirements.txt
20+
- method: pip
21+
path: .
2222
system_packages: true

0 commit comments

Comments
 (0)