Skip to content

Commit cb99368

Browse files
committed
Remove build step from ci
1 parent b9f902e commit cb99368

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,7 @@ jobs:
4545
echo password=changed! >> .splunkrc
4646
echo scheme=https >> .splunkrc
4747
echo version=${{ matrix.splunk }} >> .splunkrc
48-
- name: Create build dir for ExamplesTestCase::test_build_dir_exists test case
49-
run: |
50-
cd ~
51-
cd /home/runner/work/splunk-sdk-python/splunk-sdk-python/
52-
python setup.py build
53-
python setup.py dist
5448
- name: Install tox
5549
run: pip install tox
5650
- name: Test Execution
57-
run: tox -e py
51+
run: make test

tests/test_examples.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
DIR_PATH = os.path.dirname(os.path.realpath(__file__))
3838
EXAMPLES_PATH = os.path.join(DIR_PATH, '..', 'examples')
39-
BUILD_PATH = os.path.join(DIR_PATH, '..', 'build')
4039

4140
def check_multiline(testcase, first, second, message=None):
4241
"""Assert that two multi-line strings are equal."""
@@ -96,9 +95,6 @@ def test_async(self):
9695
except:
9796
pass
9897

99-
def test_build_dir_exists(self):
100-
self.assertTrue(os.path.exists(BUILD_PATH), 'Run setup.py build, then setup.py dist')
101-
10298
def test_binding1(self):
10399
result = run("binding1.py")
104100
self.assertEqual(result, 0)

0 commit comments

Comments
 (0)