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+ name : CI
2+ on :
3+ push :
4+ branches : [main, develop]
5+ paths : ["src/**", "tests/**", ".github/workflows/ci.yml"]
6+ pull_request :
7+ branches : [main, develop]
8+ paths : ["src/**", "tests/**", ".github/workflows/ci.yml"]
9+ workflow_dispatch :
10+
11+ jobs :
12+ pytest-ci :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ python-version : [3.7, 3.8, 3.9, "3.10"]
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v3
20+
21+ - name : Setup Python ${{ matrix.python-version}}
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+
26+ - name : Install Dependencies
27+ run : |
28+ pip install -U pip
29+ pip install .
30+ pip install seaborn plotnine
31+
32+ - name : Run pytest
33+ run : pytest tests --tb=line --cov=src --cov-report=xml --cov-report=term
You can’t perform that action at this time.
0 commit comments