diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23fb97708..a49a4718e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,20 +78,6 @@ jobs: uses: codecov/codecov-action@v1.0.10 with: yml: ./codecov.yml - - name: Current Directory - run: ls - - - name: Install dependencies - run: | - pip install -r generator/requirements.txt - - 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 @@ -99,26 +85,20 @@ jobs: strategy: fail-fast: false steps: -# - uses: actions/checkout@v2 -# - name: Setup Python -# 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 + - name: Run RPC generator tests + run: | python3 generator/test/runner.py -# 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: 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 |