diff options
author | Frank Elias <francois.elias@livio.io> | 2020-11-09 12:56:11 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-11-09 12:56:11 -0500 |
commit | 70312a223789b82505f71aecc20e8394ad520108 (patch) | |
tree | 3f56bb83483a9ca71dfd15d7ae670090516c4011 | |
parent | fd014df7863bdbcaad217d1c298ab6c60f18d7f5 (diff) | |
download | sdl_ios-70312a223789b82505f71aecc20e8394ad520108.tar.gz |
CI test
Add CI test for rpc generator tests
-rw-r--r-- | .github/workflows/test.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b7318596..ce475e068 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,3 +78,24 @@ jobs: uses: codecov/codecov-action@v1.0.10 with: yml: ./codecov.yml + + rpcTest: + name: RPCSpecGeneratorTests + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.8' + - 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 |