File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ['3.9', '3.14']
15+ fail-fast : false
16+ services :
17+ redis :
18+ image : redis
19+ options :
20+ --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s
21+ --health-retries 5
22+ ports :
23+ - 6379:6379
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - name : Set up Python ${{ matrix.python-version }}
29+ uses : actions/setup-python@v5
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ pip install -e ".[dev]"
37+
38+ - name : Run tests with pytest
39+ run : |
40+ pytest --cov=addok_fr --cov-report=term-missing
You can’t perform that action at this time.
0 commit comments