[7.x] Split CI into Jenkins and GitHub Actions

This commit is contained in:
Seth Michael Larson
2020-05-27 16:42:40 -05:00
committed by GitHub
parent 1773bd17be
commit 1bfb1113d3
5 changed files with 66 additions and 20 deletions
@@ -424,11 +424,11 @@ def sync_runner(sync_client):
return YamlRunner(sync_client)
@pytest.mark.parametrize("test_spec", YAML_TEST_SPECS)
def test_rest_api_spec(test_spec, sync_runner):
if RUN_ASYNC_REST_API_TESTS:
pytest.skip("Skipped running sync REST API tests")
if test_spec.get("skip", False):
pytest.skip("Manually skipped in 'SKIP_TESTS'")
sync_runner.use_spec(test_spec)
sync_runner.run()
if not RUN_ASYNC_REST_API_TESTS:
@pytest.mark.parametrize("test_spec", YAML_TEST_SPECS)
def test_rest_api_spec(test_spec, sync_runner):
if test_spec.get("skip", False):
pytest.skip("Manually skipped in 'SKIP_TESTS'")
sync_runner.use_spec(test_spec)
sync_runner.run()