File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ coverage :
2+ status :
3+ project :
4+ default :
5+ informational : true
6+ patch :
7+ default :
8+ informational : true
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on : [push, workflow_dispatch]
4+
5+ jobs :
6+ Test :
7+ strategy :
8+ matrix :
9+ python-version : ["3.10"]
10+ os : [ubuntu-latest]
11+
12+ runs-on : ${{ matrix.os }}
13+
14+ steps :
15+ - name : Checkout Repository
16+ uses : actions/checkout@v3
17+
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+
23+ - name : Install test dependencies
24+ run : python -m pip install --no-cache-dir --quiet mypy coverage build
25+
26+ - name : Run MyPy
27+ run : python -m mypy --cache-dir=/dev/null -p lambda_calculus
28+
29+ - name : Build wheel
30+ run : python -m build
31+
32+ - name : Install wheel
33+ run : python -m pip install --no-cache-dir dist/lambda_calculus-*.whl
34+
35+ - name : Run tests and generate report
36+ run : coverage run -m unittest discover --verbose
37+
38+ - name : Upload coverage
39+ uses : codecov/codecov-action@v3
40+ with :
41+ flags : ${{ runner.os }}
You can’t perform that action at this time.
0 commit comments