diff options
author | Frank Elias <francois.elias@livio.io> | 2020-11-09 16:02:48 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-11-09 16:02:48 -0500 |
commit | b451b3ff5ee331424b484460250d10fb30065c9a (patch) | |
tree | 74a87a611b17c08dbb2900858bd061fe617554f5 /.github | |
parent | b93745b04a7af3e5e617cf7b95675a0f4e67ecca (diff) | |
download | sdl_ios-b451b3ff5ee331424b484460250d10fb30065c9a.tar.gz |
new CI Test fix
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 23 |
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 |