Move the canonicalization method to the ci
This commit is contained in:
parent
e99c085331
commit
7aede0f149
2 changed files with 7 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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__":
|
||||
|
|
Loading…
Reference in a new issue