diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c8a252..a827cd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,9 @@ jobs: command: build args: --verbose --all-features - name: Run the integration test - run: ./tests/start_test.py + run: ./tests/start_test.py "simple/simple" + - name: Run the integration test + run: ./tests/start_test.py "relaxed/relaxed" cargo-fmt: name: Cargo fmt runs-on: ubuntu-latest diff --git a/tests/start_test.py b/tests/start_test.py index 0ce49b3..3478e55 100755 --- a/tests/start_test.py +++ b/tests/start_test.py @@ -214,10 +214,12 @@ def start_tests(test_dir, smtp_port, canonicalization): def main(): + method = "relaxed/relaxed" + if len(sys.argv) > 1: + method = sys.argv[1] test_dir = pathlib.Path(__file__).parent.resolve() os.chdir(test_dir.parent) - start_tests(test_dir, DEFAULT_PORT, "simple/simple") - start_tests(test_dir, DEFAULT_PORT, "relaxed/relaxed") + start_tests(test_dir, DEFAULT_PORT, method) if __name__ == "__main__":