1
0
mirror of synced 2025-12-21 02:51:29 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/pyproject.toml
octavia-bot-hoard[bot] 85e9e9bedf 🐙 source-github: run up-to-date pipeline [2025-12-02] (#70286)
Co-authored-by: octavia-bot-hoard[bot] <230633153+octavia-bot-hoard[bot]@users.noreply.github.com>
2025-12-01 22:10:24 -08:00

49 lines
1.6 KiB
TOML

[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
version = "2.1.5"
name = "source-github"
description = "Source implementation for GitHub."
authors = [ "Airbyte <contact@airbyte.io>",]
license = "ELv2"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/github"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
[[tool.poetry.packages]]
include = "source_github"
[tool.poetry.dependencies]
python = "^3.10,<3.14"
airbyte-cdk = "^7.4.1"
sgqlc = "==16.3"
[tool.poetry.scripts]
source-github = "source_github.run:run"
[tool.poetry.group.dev.dependencies]
requests-mock = "^1.9.3"
freezegun = "^1.2"
pytest-mock = "^3.6.1"
pytest = "^8.0.0"
responses = "^0.23.1"
[tool.poe]
include = [
# Shared tasks definition file(s) can be imported here.
# Run `poe` or `poe --help` to see the list of available tasks.
"${POE_GIT_DIR}/poe-tasks/poetry-connector-tasks.toml",
]
[tool.poe.tasks]
# This overrides the default task for running unit tests specifically for the source-github connector.
# This is a workaround to an issue that arises when running all of the unit tests in one execution of pytest
# due to incompatibilities between request mocking libraries requests-mock and responses.
test-unit-tests.shell = '''
poetry run pytest --junitxml=build/test-results/pytest-unit-tests-junit.xml --ignore=unit_tests/integration/ unit_tests
poetry run pytest --junitxml=build/test-results/pytest-unit-integration-tests-junit.xml unit_tests/integration/
'''