Skip to content

Commit bd1cc31

Browse files
committed
Action fixes
1 parent 47db690 commit bd1cc31

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/divert_sim.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22

33
name: Build OpenEVSE divert simulator
44

5+
# Allow dependabot to update checks
56
permissions:
7+
checks: write
8+
actions: write
69
contents: write
10+
issues: read
11+
pull-requests: write
712

813
on:
914
push:
@@ -88,7 +93,7 @@ jobs:
8893
run: |
8994
cd OpenEVSE_WiFi/divert_sim
9095
mkdir -p output
91-
pytest -v --color=yes --code-highlight yes --junitxml=output/test_results.xml
96+
pytest -v --color=yes --code-highlight yes --junit-xml=output/test_results.xml
9297
9398
- name : Upload test results
9499
uses: actions/upload-artifact@v3
@@ -102,5 +107,5 @@ jobs:
102107
uses: EnricoMi/publish-unit-test-result-action/composite@v2
103108
if: always()
104109
with:
105-
junit_files: output/*.xml
110+
junit_files: OpenEVSE_WiFi/divert_sim/output/*.xml
106111
check_name: Test Results

0 commit comments

Comments
 (0)