Skip to content

Commit 5802db5

Browse files
authored
Regenerated Update v2.176.0 (#64)
* Autogenerated Update v2.176.0. * Ignore Temp Files. * Update GitHub Actions * Install Package in Editable Mode * Update Workflow Structure * Fix Typo
1 parent 9f19fe8 commit 5802db5

File tree

389 files changed

+999
-5654
lines changed

Some content is hidden

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

389 files changed

+999
-5654
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and Run Unit Tests.
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v4
20+
with:
21+
check-latest: true
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install Dependencies
24+
run: |
25+
python -m pip install --upgrade pip setuptools wheel
26+
python -m pip install --upgrade --editable .
27+
- name: Test
28+
run: python -m unittest discover

.github/workflows/package.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Prepare Package for Publishing on PyPI
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
package:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Set up Python
12+
uses: actions/setup-python@v4
13+
with:
14+
check-latest: true
15+
python-version: '3.x'
16+
- name: Install Dependencies
17+
run: |
18+
python -m pip install -U pip setuptools wheel
19+
python -m pip install -U build
20+
- name: Build Package
21+
run: python -m build
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish to Test PyPI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Prepare the Package
13+
uses: ./.github/workflows/package.yml
14+
- name: Publish the Package on TestPyPI
15+
uses: pypa/gh-action-pypi-publish@release/v1
16+
with:
17+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
18+
repository-url: https://test.pypi.org/legacy/
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Prepare the Package
13+
uses: ./.github/workflows/package.yml
14+
- name: Publish the Package
15+
if: startsWith(github.ref, 'refs/tags')
16+
uses: pypa/gh-action-pypi-publish@release/v1
17+
with:
18+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/python-build.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/python-release.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ target/
6262

6363
#Ipython Notebook
6464
.ipynb_checkpoints
65+
66+
# Other
67+
.DS_Store
68+
*.swp

.swagger-codegen/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.27
1+
2.4.30

.swagger-codegen/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.175.2"
6+
"packageVersion": "2.176.0"
77
}

.swagger-codegen/config.jsone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.174.0"
6+
"packageVersion": "2.175.2"
77
}

0 commit comments

Comments
 (0)