wdm-wavelet 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ .DS_Store
2
+ .idea/
3
+ *.iml
4
+ __pycache__
5
+ *.egg-info
6
+ dist/
7
+ burst_waveform/_version.py
@@ -0,0 +1,49 @@
1
+ # This file is a template, and might need editing before it works on your project.
2
+ # This is a sample GitLab CI/CD configuration file that should run without any modifications.
3
+ # It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
4
+ # it uses echo commands to simulate the pipeline execution.
5
+ #
6
+ # A pipeline is composed of independent jobs that run scripts, grouped into stages.
7
+ # Stages run in sequential order, but jobs within stages run in parallel.
8
+ #
9
+ # For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
10
+ #
11
+ # You can copy and paste this template into a new `.gitlab-ci.yml` file.
12
+ # You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
13
+ #
14
+ # To contribute improvements to CI/CD templates, please follow the Development guide at:
15
+ # https://docs.gitlab.com/ee/development/cicd/templates.html
16
+ # This specific template is located at:
17
+ # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
18
+ image: python:3.10
19
+
20
+ stages: # List of stages for jobs, and their order of execution
21
+ - build
22
+ - test
23
+ - deploy
24
+
25
+ build-job: # This job runs in the build stage, which runs first.
26
+ stage: build
27
+ script:
28
+ - python3 -m pip install build
29
+ - python3 -m build --sdist --wheel
30
+ artifacts:
31
+ paths:
32
+ - dist/*
33
+
34
+ test-job:
35
+ stage: test
36
+ script:
37
+ - python3 -m pip install dist/*.whl
38
+ - python3 -m pip install pytest
39
+ - python3 -m pytest -v
40
+
41
+ publish:
42
+ stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
43
+ environment: production
44
+ only:
45
+ - tags
46
+ script:
47
+ - echo "Deploying to PyPI..."
48
+ - pip install twine
49
+ - TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python -m twine upload dist/*.tar.gz