]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
ci: Add windows to the main test config 3331/head
authorBen Darnell <ben@bendarnell.com>
Sat, 30 Sep 2023 19:39:53 +0000 (15:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 3 Oct 2023 01:36:23 +0000 (21:36 -0400)
I've caused enough broken builds that aren't caught until the final
release pipeline; time to add this to the main test config.

.github/workflows/test.yml

index e88a3e905126fdc884ebc12dde0ec178f61c9c81..b26d4ef9023da14502dafeaa61ff9ea3af2ff987 100644 (file)
@@ -74,4 +74,22 @@ jobs:
 
       - name: Run test suite
         run: python -m tox -e ${{ matrix.tox_env }}
-  
+
+  test_win:
+    # Windows tests are fairly slow, so only run one configuration here.
+    # We test on windows but not mac because even though mac is a more
+    # fully-supported platform, it's similar enough to linux that we
+    # don't generally need to test it separately. Windows is different
+    # enough that we'll break it if we don't test it in CI.
+    name: Run windows tests
+    needs: test_quick
+    runs-on: windows-2022
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-python@v4
+        name: Install Python
+        with:
+          python-version: '3.11'
+      - name: Run test suite
+        # TODO: figure out what's up with these log messages
+        run: py -m tornado.test --fail-if-logs=false