summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2021-01-04 20:08:10 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-31 14:08:41 +0100
commit78aa12e3344444501b8136bc01cfe7af4a85893e (patch)
tree920c76471294cbf7df889c353c345eca2bf62d37
parentca8c5bd69065d6bff8bff61e12f4b52072a06007 (diff)
downloaddjango-78aa12e3344444501b8136bc01cfe7af4a85893e.tar.gz
[4.0.x] Used GitHub actions for Windows tests.
Backport of f97401d1b184406d2e24f11eddbdaca8bbc360e3 from main
-rw-r--r--.github/workflows/tests.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 57237c247f..8dd0380cdf 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -11,6 +11,26 @@ on:
- 'docs/**'
jobs:
+ windows:
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ python-version:
+ - '3.10'
+ name: Windows, SQLite, Python ${{ matrix.python-version }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ cache: 'pip'
+ cache-dependency-path: 'tests/requirements/py3.txt'
+ - run: pip install -r tests/requirements/py3.txt -e .
+ - name: Run tests
+ run: python tests/runtests.py -v2
+
javascript-tests:
runs-on: ubuntu-latest
name: JavaScript tests