diff options
author | Frank Elias <francois.elias@livio.io> | 2020-11-09 14:24:43 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-11-09 14:24:43 -0500 |
commit | 8d64ffb0c400962db6d199d327ca23aef1d16d9d (patch) | |
tree | 7e3ff1011698e2561769c13736bd8ebe2863ebe9 /.github | |
parent | 99f8653e4a14a69ccb419112a277691fbb8d94ec (diff) | |
download | sdl_ios-8d64ffb0c400962db6d199d327ca23aef1d16d9d.tar.gz |
CI update
CI update
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 14 |
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 |