Commit f2181fa 1 parent 8b57141 commit f2181fa Copy full SHA for f2181fa
File tree 1 file changed +10
-25
lines changed
1 file changed +10
-25
lines changed Original file line number Diff line number Diff line change @@ -13,34 +13,19 @@ jobs:
13
13
build :
14
14
runs-on : " ubuntu-latest"
15
15
steps :
16
- - uses : actions/checkout@v2
17
- with :
18
- submodules : recursive
19
- - name : Install Python 3
16
+ - uses : actions/checkout@v3
17
+ - name : Set up Python
20
18
uses : actions/setup-python@v4
21
19
with :
22
20
python-version : ' 3.10'
23
21
- name : Install dependencies
24
22
run : |
25
- python -m pip install --upgrade pip
26
- pip install -e.[dev,all]
27
- - name : Run tests with pytest
28
- run : coverage run -m pytest --html=test-report.html
29
- - name : Run coverage
23
+ python -m pip install uv
24
+ uv venv
25
+ make install-dev
26
+ - name : Activate virtualenv
30
27
run : |
31
- coverage report
32
- coverage html
33
- - name : Archive code coverage results
34
- uses : actions/upload-artifact@v2
35
- if : ${{ always() }}
36
- with :
37
- name : code-coverage-report
38
- path : coverage_report
39
- - name : Archive test report
40
- uses : actions/upload-artifact@v2
41
- if : ${{ always() }}
42
- with :
43
- name : test-report
44
- path : |
45
- test-report.html
46
- assets
28
+ . .venv/bin/activate
29
+ echo PATH=$PATH >> $GITHUB_ENV
30
+ - name : Run tests with pytest
31
+ run : make test
You can’t perform that action at this time.
0 commit comments