Skip to content

Commit

Permalink
Merge pull request #13 from jpvantassel/dev
Browse files Browse the repository at this point in the history
In preparation for v0.1.2
  • Loading branch information
jpvantassel authored Jun 6, 2023
2 parents a9fdd0f + ffb580d commit 3ed3ec6
Show file tree
Hide file tree
Showing 124 changed files with 41,715 additions and 41,586 deletions.
214 changes: 106 additions & 108 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,108 +1,106 @@
version: 2.1

orbs:
coverage-reporter: codacy/[email protected]
codecov: codecov/[email protected]

workflows:
build:
jobs:
- test-36:
context:
- docker
- test-37:
context:
- docker
- test-38:
context:
- docker
- test-39:
context:
- docker
- test-310:
context:
- docker

jobs:
test-36: &test-template
docker:
- image: cimg/python:3.6.9
auth:
username: jpvantassel
password: $DOCKER_PASS
working_directory: ~/repo
steps:
- checkout
- run:
name: Create virtualenv
command: |
virtualenv venv
. venv/bin/activate
mkdir test-results
- run:
name: Install numpy
command: |
. venv/bin/activate
pip install numpy
- run:
name: Install sigpropy from source
command: |
. venv/bin/activate
pip install git+ssh://[email protected]/jpvantassel/sigpropy.git
- run:
name: Install swprocess and dependencies
command: |
. venv/bin/activate
pip install -e .[dev]
- run:
name: Run tests
command: |
. venv/bin/activate
cd test
coverage run --source=../swprocess -m unittest
- run:
name: Create coverage xml
command: |
. venv/bin/activate
mv test/.coverage test-results
cd test-results
coverage xml -o cobertura.xml
- store_test_results:
path: test-results
- store_artifacts:
path: test-results
- codecov/upload:
file: test-results/cobertura.xml
- coverage-reporter/send_report

test-37:
<<: *test-template
docker:
- image: cimg/python:3.7.5
auth:
username: jpvantassel
password: $DOCKER_PASS

test-38:
<<: *test-template
docker:
- image: cimg/python:3.8.10
auth:
username: jpvantassel
password: $DOCKER_PASS

test-39:
<<: *test-template
docker:
- image: cimg/python:3.9.6
auth:
username: jpvantassel
password: $DOCKER_PASS

test-310:
<<: *test-template
docker:
- image: cimg/python:3.10.2
auth:
username: jpvantassel
password: $DOCKER_PASS
version: 2.1

orbs:
coverage-reporter: codacy/[email protected]
codecov: codecov/[email protected]

workflows:
build:
jobs:
- test-37:
context:
- docker
- test-38:
context:
- docker
- test-39:
context:
- docker
- test-310:
context:
- docker
- test-311:
context:
- docker

jobs:
test-37: &test-template
docker:
- image: cimg/python:3.7.16
auth:
username: jpvantassel
password: $DOCKER_PASS
working_directory: ~/repo
steps:
- checkout
- run:
name: Create virtualenv
command: |
virtualenv venv
. venv/bin/activate
mkdir test-results
- run:
name: Install numpy
command: |
. venv/bin/activate
pip install numpy
- run:
name: Install sigpropy from source
command: |
. venv/bin/activate
pip install git+ssh://[email protected]/jpvantassel/sigpropy.git
- run:
name: Install swprocess and dependencies
command: |
. venv/bin/activate
pip install -e .[dev]
- run:
name: Run tests
command: |
. venv/bin/activate
cd test
coverage run --source=../swprocess -m unittest
- run:
name: Create coverage xml
command: |
. venv/bin/activate
mv test/.coverage test-results
cd test-results
coverage xml -o cobertura.xml
- codecov/upload:
file: test-results/cobertura.xml
- coverage-reporter/send_report:
coverage-reports: test-results/cobertura.xml

test-38:
<<: *test-template
docker:
- image: cimg/python:3.8.16
auth:
username: jpvantassel
password: $DOCKER_PASS

test-39:
<<: *test-template
docker:
- image: cimg/python:3.9.16
auth:
username: jpvantassel
password: $DOCKER_PASS

test-310:
<<: *test-template
docker:
- image: cimg/python:3.10.10
auth:
username: jpvantassel
password: $DOCKER_PASS

test-311:
<<: *test-template
docker:
- image: cimg/python:3.11.3
auth:
username: jpvantassel
password: $DOCKER_PASS

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Files
# Files
*.ipynb linguist-documentation
52 changes: 26 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
__pycache__
.ipynb_checkpoints
*.egg-info
.vscode
scratch
.tox
build
dist
test/htmlcov
test/.coverage
test/.tmp_profiler_run
examples/active.json
test/data/mspac/c0
binout*
vis_traces.ipynb
set*.csv
masw.k
docs/html
debug.log
*.target
examples/masw/*.png
examples/masw/*.json
examples/mam/*.json
examples/stats/*.txt
examples/stats/*.json
examples/mam/data/*/*.miniseed
__pycache__
.ipynb_checkpoints
*.egg-info
.vscode
scratch
.tox
build
dist
test/htmlcov
test/.coverage
test/.tmp_profiler_run
examples/active.json
test/data/mspac/c0
binout*
vis_traces.ipynb
set*.csv
masw.k
docs/html
debug.log
*.target
examples/masw/*.png
examples/masw/*.json
examples/mam/*.json
examples/stats/*.txt
examples/stats/*.json
examples/mam/data/*/*.miniseed
42 changes: 21 additions & 21 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements.txt
- method: pip
path: .
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: requirements.txt
- method: pip
path: .
system_packages: true
Loading

0 comments on commit 3ed3ec6

Please sign in to comment.