From 1ae76d3c15c47c3d5ea9aca713303d1739f0d635 Mon Sep 17 00:00:00 2001 From: Dean Li Date: Wed, 23 Mar 2022 21:51:10 +0800 Subject: [PATCH 1/2] ci: update geckodriver --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 29f86a2ec7..a7e35e437f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -286,9 +286,9 @@ jobs: run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: install geckodriver run: | - wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux32.tar.gz + wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz mkdir geckodriver - tar -xzf geckodriver-v0.24.0-linux32.tar.gz -C geckodriver + tar -xzf geckodriver-v0.30.0-linux64.tar.gz -C geckodriver - uses: actions/setup-python@v2 with: python-version: "3.10" From c5544c2580835e7f7e96fb3f5b128400232e4f33 Mon Sep 17 00:00:00 2001 From: Dean Li Date: Wed, 23 Mar 2022 21:51:51 +0800 Subject: [PATCH 2/2] test: remove unused import and wrong doc --- extra_tests/test_snippets.py | 3 +-- wasm/tests/test_demo.py | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/extra_tests/test_snippets.py b/extra_tests/test_snippets.py index f4d1adfd8d..c191c1e638 100644 --- a/extra_tests/test_snippets.py +++ b/extra_tests/test_snippets.py @@ -1,5 +1,5 @@ # This is a python unittest class automatically populating with all tests -# in the tests folder. +# in the snippets folder. import sys @@ -11,7 +11,6 @@ import contextlib import enum from pathlib import Path -import shutil class _TestType(enum.Enum): diff --git a/wasm/tests/test_demo.py b/wasm/tests/test_demo.py index 2dd4d731d1..3a35ca62fe 100644 --- a/wasm/tests/test_demo.py +++ b/wasm/tests/test_demo.py @@ -1,6 +1,3 @@ -import time -import sys - import pytest RUN_CODE_TEMPLATE = """