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