File tree 2 files changed +14
-5
lines changed
2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ indent_size = 4
7
7
max_line_length = 100
8
8
trim_trailing_whitespace = true
9
9
insert_final_newline = true
10
+
11
+ [.github/* .yaml ]
12
+ indent_size = 2
Original file line number Diff line number Diff line change 41
41
sudo add-apt-repository 'deb http://ppa.launchpad.net/sri-csl/formal-methods/ubuntu bionic main'
42
42
sudo apt-get update
43
43
sudo apt-get install yices2
44
- pip install codecov build
45
44
pdm install --dev
46
45
- name : Cache YoWASP build products
47
46
uses : actions/cache@v4
53
52
- name : Run tests
54
53
run : |
55
54
pdm run test
56
- - name : Submit code coverage
57
- run : |
58
- codecov
55
+ pdm run python -m coverage xml
56
+ - name : Upload coverage to Codecov
57
+ uses : codecov/codecov-action@v4
58
+ env :
59
+ PYTHON : ${{ matrix.python-version }}
60
+ with :
61
+ use_oidc : true
62
+ token : ${{ secrets.CODECOV_TOKEN }}
63
+ env_vars : PYTHON
64
+ file : ./coverage.xml
59
65
60
66
smoketest : # If we plug this into downstream projects, does magic smoke escape?
61
67
runs-on : ubuntu-latest
@@ -260,4 +266,4 @@ jobs:
260
266
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
261
267
with :
262
268
tag_name : ${{ github.ref_name }}
263
- release_name : ${{ steps.metadata.outputs.name }}
269
+ release_name : ${{ steps.metadata.outputs.name }}
You can’t perform that action at this time.
0 commit comments