File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .github/workflows/ci.yml
2+
3+ name : Continuous Integration
4+
5+ on :
6+ push :
7+ branches : [ main, master ]
8+ pull_request :
9+ branches : [ main, master ]
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ python-version : [ "3.8", "3.9", "3.10", "3.11" ]
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+
26+ - name : Install dependencies
27+ run : |
28+ python -m pip install --upgrade pip
29+ # Install dependencies needed for both the project and testing (click, ruamel.yaml, pytest)
30+ pip install click ruamel.yaml pytest
31+
32+ - name : Run tests with pytest
33+ run : |
34+ # Run pytest command from the root directory
35+ pytest
You can’t perform that action at this time.
0 commit comments