Skip to content

Commit

Permalink
Merge pull request #627 from OpenEVSE/divert_sim_summary
Browse files Browse the repository at this point in the history
Divert_sim summary
  • Loading branch information
KipK committed May 9, 2023
2 parents ce2dfe9 + 5f9309f commit 09b7100
Show file tree
Hide file tree
Showing 17 changed files with 246 additions and 6,787 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/divert_sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,28 @@ jobs:
with:
name: divert_sim
path: OpenEVSE_WiFi/divert_sim/divert_sim


- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: pip install -r OpenEVSE_WiFi/divert_sim/requirements.txt

- name: run tests
run: |
cd OpenEVSE_WiFi/divert_sim
bash runall.sh
mkdir -p output
pytest -v --color=yes --code-highlight yes --junitxml=output/test_results.xml
- name : Upload test results
uses: actions/upload-artifact@v3
with:
name: test_results
path: |
${{ github.ref_name }}_test_results.pdf
${{ github.ref_name }}_test_results.png
OpenEVSE_WiFi/divert_sim/output
OpenEVSE_WiFi/divert_sim/view.html
1 change: 1 addition & 0 deletions divert_sim/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest
37 changes: 0 additions & 37 deletions divert_sim/runall.sh

This file was deleted.

Loading

0 comments on commit 09b7100

Please sign in to comment.