Skip to content

Commit

Permalink
1.0.97
Browse files Browse the repository at this point in the history
  • Loading branch information
Constant-Contact-Public-API committed Oct 3, 2024
1 parent 070dac2 commit 133ba1d
Show file tree
Hide file tree
Showing 401 changed files with 69,787 additions and 9 deletions.
85 changes: 85 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Python Release
on:
push:
branches: [ main ]
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
build:
name: Build
needs:
- validate
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Build package
run: python setup.py sdist
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: sdist
path: dist
release:
name: Release
needs:
- build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create tag from commit
uses: christophebedard/tag-version-commit@v1
id: tag_version
with:
token: ${{ secrets.GITHUB_TOKEN }}
version_regex: '([0-9]+\.[0-9]+\.[0-9]+)'
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.tag }}
name: Release ${{ steps.tag_version.outputs.tag }}
publish:
name: Publish python distribution
needs:
- build
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/constant-contact-v3api
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: sdist
path: dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
71 changes: 71 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
venv/
.venv/
.python-version
.pytest_cache

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

#Ipython Notebook
.ipynb_checkpoints

# OpenApi Generator
git_push.sh
.gitlab-ci.yml
.travis.yml
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
Loading

0 comments on commit 133ba1d

Please sign in to comment.