File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Unit tests
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ unit_tests :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ pull-requests : read
13+ strategy :
14+ matrix :
15+ python-version : ["3.11", "3.12", "3.13"]
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ - name : Python version
23+ run : python --version
24+ - name : PDM installation
25+ run : pip install --user pdm
26+ - name : Install dependencies
27+ run : pdm install
28+ - name : Install devel dependencies
29+ run : pdm install --dev
30+ - name : Run unit tests
31+ run : pdm run python -m pytest tests/unit --cov=ols --cov=runner --cov-report term-missing
You can’t perform that action at this time.
0 commit comments