Debian Codegraph @

.github/workflows/runtests.yml

raw symbols SCIP
1 name: Run Tests
2 on:
3 push:
4 branches:
5 - master
6 pull_request:
7 jobs:
8 build:
9 name: Run tests
10 strategy:
11 matrix:
12 os: [ubuntu-latest]
13 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
14 runs-on: ${{ matrix.os }}
15 steps:
16 - uses: actions/checkout@v2
17 - name: Install locales
18 run: sudo apt-get install -y locales language-pack-it
19 - name: Set up Python ${{ matrix.python-version }}
20 uses: actions/setup-python@v2
21 with:
22 python-version: ${{ matrix.python-version }}
23 - name: Install dependencies
24 run: |
25 python -m pip install --upgrade pip
26 pip install -U --upgrade-strategy=eager --pre -e .[testsuite]
27 - name: Start memcached
28 uses: niden/actions-memcached@v7
29 - name: Start Redis
30 uses: supercharge/[email protected]
31 - name: Start MongoDB
32 uses: supercharge/[email protected]
33 - uses: vishnudxb/[email protected]
34 with:
35 master1-port: 5000
36 master2-port: 5001
37 master3-port: 5002
38 slave1-port: 5003
39 slave2-port: 5004
40 slave3-port: 5005
41 sleep-duration: 5
42 - name: Test with pytest
43 run: |
44 pytest -vv