@@ -31,28 +31,18 @@ jobs:
3131
3232 test :
3333 needs : comply
34- runs-on : ${{ matrix.os }}
35- strategy :
36- matrix :
37- # FIXME ?
38- # os: [ubuntu-latest, macos-latest, windows-latest]
39- os : [ubuntu-latest]
40- # python-version: ["3.8", "3.9", "3.11", "3.12", "3.13", "pypy3.10"]
41- python-version : ["3.13"]
42- # exclude:
43- # - os: macos-latest
44- # python-version: "3.11"
45- # - os: windows-latest
46- # python-version: "3.11"
34+ runs-on : ubuntu-latest
4735
4836 steps :
4937 - uses : actions/checkout@v4
5038 - uses : ConorMacBride/install-package@v1
5139 with :
5240 apt : libmemcached-dev
53- # - uses: niden/actions-memcached@v7
54- # - uses: supercharge/redis-github-action@1.7.0
55- # - uses: stanleymasinde/mailpit-action
41+ - name : Set up Python
42+ uses : actions/setup-python@v5
43+ with :
44+ python-version : " 3.x"
45+ architecture : " x64"
5646 - uses : hoverkraft-tech/compose-action@v2.0.1
5747 with :
5848 compose-file : " ./docker/compose-services-only.yml"
@@ -63,14 +53,43 @@ jobs:
6353 - name : Make Test
6454 run : make test
6555
66- # build:
67- # runs-on: ${{ matrix.os }}
68- # strategy:
69- # matrix:
70- # os: [ubuntu-latest, macos-latest, windows-latest]
71- # python-version: ["3.9", "3.11", "3.13", "pypy3.10"]
72- # exclude:
73- # - os: macos-latest
74- # python-version: "3.11"
75- # - os: windows-latest
76- # python-version: "3.11"
56+ test_all :
57+ needs : test
58+ runs-on : ${{ matrix.os }}
59+ strategy :
60+ matrix :
61+ # FIXME ?
62+ # os: [ubuntu-latest, macos-latest, windows-latest]
63+ os : [ubuntu-latest]
64+ python-version : ["3.8", "3.9", "3.11", "3.12", "3.13", "pypy3.10"]
65+
66+ steps :
67+ - uses : actions/checkout@v4
68+ - uses : ConorMacBride/install-package@v1
69+ with :
70+ apt : libmemcached-dev
71+ - uses : hoverkraft-tech/compose-action@v2.0.1
72+ with :
73+ compose-file : " ./docker/compose-services-only.yml"
74+ - name : Setup PDM
75+ uses : pdm-project/setup-pdm@v4
76+ - name : Install dependencies
77+ run : pdm install
78+ - name : Make Test
79+ run : make test
80+
81+ cli_smoke_test :
82+ needs : test_all
83+ runs-on : ubuntu-latest
84+
85+ steps :
86+ - uses : actions/checkout@v4
87+ - uses : hoverkraft-tech/compose-action@v2.0.1
88+ with :
89+ compose-file : " ./docker-compose.yml"
90+ - name : Setup PDM
91+ uses : pdm-project/setup-pdm@v4
92+ - name : Install dependencies
93+ run : pdm install
94+ - name : CLI Smoke Tests
95+ run : ./scripts/cli-smoke-test.sh
0 commit comments