11name : Tests
22
33on :
4- - push
5- - pull_request
4+ push :
5+ pull_request :
66
77jobs :
88 tests :
99 strategy :
1010 matrix :
1111 platform : [ubuntu-latest, windows-latest, macos-latest]
12- python-version : [' 3.8', ' 3.9', ' 3.10', ' 3.11', ' 3.12' ]
12+ python-version : [" 3.8", " 3.9", " 3.10", " 3.11", " 3.12" ]
1313 runs-on : ${{ matrix.platform }}
1414 steps :
1515 - uses : actions/checkout@v4
@@ -20,45 +20,45 @@ jobs:
2020 python-version : ${{ matrix.python-version }}
2121 enable-cache : true
2222
23- - name : Install dependencies with uv
24- run : |
25- uv venv
26- uv pip install -e .[dev]
27- echo "Dependencies installed successfully"
28-
2923 - name : Setup git
3024 run : |
3125 git config --global user.name "Search-query test"
3226 git config --global user.email "actions@users.noreply.github.com"
3327 git config --global url.https://github.com/.insteadOf git://github.com/
3428
29+ - name : Install dependencies with uv
30+ run : uv pip install -e .[dev]
31+
3532 - name : Run tests with uv
3633 run : uv run pytest test -vv
3734
3835 pip-install :
3936 strategy :
4037 matrix :
4138 platform : [ubuntu-latest, windows-latest, macos-latest]
42- python-version : [' 3.8', ' 3.9', ' 3.10', ' 3.11', ' 3.12' ]
39+ python-version : [" 3.8", " 3.9", " 3.10", " 3.11", " 3.12" ]
4340 runs-on : ${{ matrix.platform }}
4441 steps :
4542 - uses : actions/checkout@v4
4643
4744 - name : Set up Python ${{ matrix.python-version }}
48- uses : actions/setup-python@v4
45+ uses : actions/setup-python@v5
4946 with :
5047 python-version : ${{ matrix.python-version }}
5148
52- - name : Install via pip
53- run : |
54- pip install -e .[dev]
55- pip list
49+ - name : Upgrade pip tooling
50+ run : python -m pip install -U pip setuptools wheel
5651
5752 - name : Setup git
5853 run : |
5954 git config --global user.name "Search-query test"
6055 git config --global user.email "actions@users.noreply.github.com"
6156 git config --global url.https://github.com/.insteadOf git://github.com/
6257
58+ - name : Install via pip
59+ run : |
60+ pip install -e .[dev]
61+ pip list
62+
6363 - name : Run tests
6464 run : pytest test -vv
0 commit comments