summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-11-09 14:24:43 -0500
committerFrank Elias <francois.elias@livio.io>2020-11-09 14:24:43 -0500
commit8d64ffb0c400962db6d199d327ca23aef1d16d9d (patch)
tree7e3ff1011698e2561769c13736bd8ebe2863ebe9 /.github
parent99f8653e4a14a69ccb419112a277691fbb8d94ec (diff)
downloadsdl_ios-8d64ffb0c400962db6d199d327ca23aef1d16d9d.tar.gz
CI update
CI update
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 88f49c50c..b7461da56 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -78,6 +78,16 @@ jobs:
uses: codecov/codecov-action@v1.0.10
with:
yml: ./codecov.yml
+
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install -r generator/requirements.txt
+ - name: Test with pytest
+ run: |
+ pip install pytest
+ pip install pytest-cov
+ pytest generator/test/runner.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
rpcTest:
name: RPCSpecGeneratorTests
@@ -91,11 +101,11 @@ jobs:
# with:
# python-version: '3.8'
- name: Install dependencies
- run: |
+ run: |
python -m pip install --upgrade pip
pip install -r generator/requirements.txt
- name: Test with pytest
- run: |
+ run: |
pip install pytest
pip install pytest-cov
pytest generator/test/runner.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html