summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-11-09 16:02:48 -0500
committerFrank Elias <francois.elias@livio.io>2020-11-09 16:02:48 -0500
commitb451b3ff5ee331424b484460250d10fb30065c9a (patch)
tree74a87a611b17c08dbb2900858bd061fe617554f5 /.github
parentb93745b04a7af3e5e617cf7b95675a0f4e67ecca (diff)
downloadsdl_ios-b451b3ff5ee331424b484460250d10fb30065c9a.tar.gz
new CI Test fix
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml23
1 files changed, 15 insertions, 8 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 33ee5ded3..23fb97708 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -83,13 +83,15 @@ jobs:
- 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
+ - name: Regular test
+ run: |
+ python3 generator/test/runner.py
+ - 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
@@ -102,12 +104,17 @@ jobs:
# uses: actions/setup-python@v2.3.1
# with:
# python-version: '3.8'
+ - name: Checkout repository
+ uses: actions/checkout@v2.3.1
+ with:
+ submodules: true
+
- name: Current Directory
run: ls
- name: Install dependencies
run: |
- python3 -m pip install -r ../generator/requirements.txt
- python3 ../generator/test/runner.py
+ python3 -m pip install -r generator/requirements.txt
+ python3 generator/test/runner.py
# python -m pip install --upgrade pip
# pip install -r ./generator/requirements.txt
# - name: Test with pytest