Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divert_sim summary #627

Merged
merged 11 commits into from
May 9, 2023
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