-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update package metadata * move PyPy to GitHub Actions * more correct
- Loading branch information
Showing
5 changed files
with
101 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run: | ||
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ['pypy-2.7', 'pypy-3.8'] | ||
# os: [ubuntu-latest, windows-latest, macos-latest] | ||
# python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy-2.7', 'pypy-3.8'] | ||
|
||
env: | ||
TOXENV: ${{ matrix.python-version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install tox | ||
run: pip install tox | ||
|
||
- name: Run unit tests | ||
run: tox | ||
|
||
- name: Run integration tests on cassettes | ||
run: tox -e integration -- --vcr-record=none | ||
|
||
- name: Run admin integration tests on cassettes | ||
run: tox -e integration-admin -- --vcr-record=none |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[build-system] | ||
requires = ["hatchling>=0.15.0"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "datadog" | ||
description = "The Datadog Python library" | ||
readme = "README.md" | ||
license = "BSD-3-Clause" | ||
requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" | ||
keywords = [ | ||
"datadog", | ||
] | ||
authors = [ | ||
{ name = "Datadog, Inc.", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
dependencies = [ | ||
"requests>=2.6.0", | ||
"typing; python_version < '3.5'", | ||
"configparser<5; python_version < '3.0'", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
"Bug Tracker" = "https://github.com/DataDog/datadogpy/issues" | ||
Documentation = "https://datadogpy.readthedocs.io/en/latest/" | ||
"Source Code" = "https://github.com/DataDog/datadogpy" | ||
|
||
[project.scripts] | ||
dog = "datadog.dogshell:main" | ||
dogwrap = "datadog.dogshell.wrap:main" | ||
dogshell = "datadog.dogshell:main" | ||
dogshellwrap = "datadog.dogshell.wrap:main" | ||
|
||
[tool.hatch.version] | ||
path = "datadog/version.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/datadog", | ||
"/tests", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters