@@ -19,6 +19,7 @@ permissions:
1919
2020jobs :
2121 build :
22+ <<<<<<< before updating
2223 runs-on : ${{ matrix.os }}
2324 strategy :
2425 matrix :
3031 - " 3.11"
3132 cibuildwheel :
3233 - " cp311"
34+ =======
35+ runs-on : ubuntu-latest
36+
37+ >>>>>>> after updating
3338 steps :
3439 - name : Checkout
3540 uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4045 - name : Setup cache (mac/linux)
4146 uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4247 with :
48+ <<<<<<< before updating
4349 path : " /home/runner/work/verilator-python/verilator-python/.ccache"
4450 key : cache-${{ runner.os }}-
4551 restore-keys : cache-${{ runner.os }}-
5460 if : ${{ runner.os == 'Windows' }}
5561
5662 - uses : actions-ext/python/setup@main
63+ =======
64+ version : " 3.11"
65+
66+ - name : Install dependencies
67+ run : make develop
68+
69+ - name : Lint
70+ run : make lint
71+
72+ - name : Checks
73+ run : make checks
74+
75+ - name : Build
76+ run : make build
77+
78+ - name : Test
79+ run : make coverage
80+
81+ - name : Upload test results (Python)
82+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
83+ with :
84+ name : test-results
85+ path : junit.xml
86+ if : always()
87+
88+ - name : Publish test results
89+ uses : EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
90+ with :
91+ files : ' **/junit.xml'
92+
93+ - name : Upload coverage
94+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
95+ with :
96+ token : ${{ secrets.CODECOV_TOKEN }}
97+
98+ - name : Build distributions
99+ run : make dist
100+
101+ - name : Test wheel
102+ uses : actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
103+ >>>>>>> after updating
57104 with :
58105 version : ${{ matrix.python-version }}
59106
@@ -105,5 +152,5 @@ jobs:
105152 - name : Upload distributions
106153 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
107154 with :
108- name : dist-${{matrix.os}}
155+ name : dist
109156 path : dist
0 commit comments