Skip to content

Commit

Permalink
Update yaml_test_folder.py (#21)
Browse files Browse the repository at this point in the history
* Update yaml_test_folder.py

* Update test_sdk_yaml_collection.py

* Update unittests.yml

Don't run old code for unit tests
  • Loading branch information
mikaelhm authored Nov 9, 2023
1 parent 48ad49b commit a68241b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Unit Tests

on:
pull_request_target:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
Expand Down
3 changes: 2 additions & 1 deletion app/tests/yaml_tests/test_sdk_yaml_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import pytest

from test_collections.sdk_tests.support.paths import SDK_CHECKOUT_PATH
from test_collections.sdk_tests.support.yaml_tests.models.test_declarations import (
YamlCaseDeclaration,
YamlCollectionDeclaration,
Expand All @@ -32,7 +33,7 @@
)

VERSION_FILE_FILENAME = ".version"
VERSION_FILE_PATH = Path("/app/backend/test_collections/sdk_tests/sdk_checkout/")
VERSION_FILE_PATH = SDK_CHECKOUT_PATH


@pytest.fixture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
VERSION_FILE_FILENAME = ".version"



class YamlTestFolder:
"""Representing a folder with Test YAML files.
Expand Down

0 comments on commit a68241b

Please sign in to comment.