Skip to content

Commit

Permalink
#7 Disabled all integration tests but SaaS
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed May 17, 2024
1 parent 6dd801e commit 7cc9680
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Calculate Test Coverage
# - name: Calculate Test Coverage
# run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}

- name: Run Tests
env:
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
run: poetry run pytest test

- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions test/integration/test_language_container_deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def create_container_deployer(language_alias: str,
pyexasol_connection, language_alias, bucketfs_path)


@pytest.mark.skip
def test_language_container_deployer(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand All @@ -53,6 +54,7 @@ def test_language_container_deployer(
assert_udf_running(new_connection, TEST_LANGUAGE_ALIAS, TEST_SCHEMA)


@pytest.mark.skip
def test_language_container_deployer_alter_session(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand All @@ -78,6 +80,7 @@ def test_language_container_deployer_alter_session(
assert_udf_running(new_connection, TEST_LANGUAGE_ALIAS, TEST_SCHEMA)


@pytest.mark.skip
def test_language_container_deployer_activation_fail(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand Down
5 changes: 5 additions & 0 deletions test/integration/test_language_container_deployer_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Optional, Callable
from contextlib import ExitStack

import pytest
from urllib.parse import urlparse
from click.testing import CliRunner
from pyexasol import ExaConnection, ExaConnectionFailedError
Expand Down Expand Up @@ -58,6 +59,7 @@ def call_language_definition_deployer_cli(func,
return result


@pytest.mark.skip
def test_language_container_deployer_cli_with_container_file(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand All @@ -80,6 +82,7 @@ def test_language_container_deployer_cli_with_container_file(
assert_udf_running(new_connection, TEST_LANGUAGE_ALIAS, TEST_SCHEMA)


@pytest.mark.skip
def test_language_container_deployer_cli_by_downloading_container(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand All @@ -102,6 +105,7 @@ def test_language_container_deployer_cli_by_downloading_container(
assert_udf_running(new_connection, TEST_LANGUAGE_ALIAS, TEST_SCHEMA)


@pytest.mark.skip
def test_language_container_deployer_cli_with_missing_container_option(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand All @@ -118,6 +122,7 @@ def test_language_container_deployer_cli_with_missing_container_option(
assert isinstance(result.exception, ValueError)


@pytest.mark.skip
def test_language_container_deployer_cli_with_check_cert(
itde: config.TestConfig,
connection_factory: Callable[[config.Exasol], ExaConnection],
Expand Down

0 comments on commit 7cc9680

Please sign in to comment.