| @@ -11,15 +11,23 @@ jobs: | |||||
| PYTHON: '3.7' | PYTHON: '3.7' | ||||
| steps: | steps: | ||||
| - uses: actions/checkout@master | - uses: actions/checkout@master | ||||
| - name: Download submodules | |||||
| run: | | |||||
| git submodule update --init --recursive | |||||
| git submodule sync -q | |||||
| git submodule update --init | |||||
| - name: Setup Python | - name: Setup Python | ||||
| uses: actions/setup-python@master | uses: actions/setup-python@master | ||||
| with: | with: | ||||
| python-version: 3.7 | python-version: 3.7 | ||||
| - name: Install dependencies | |||||
| run: | | |||||
| python -m pip install --upgrade pip | |||||
| pip install -r test-requirements.txt | |||||
| - name: Generate coverage report | - name: Generate coverage report | ||||
| run: | | run: | | ||||
| pip install pytest | pip install pytest | ||||
| pip install pytest-cov | pip install pytest-cov | ||||
| pip install js2py | |||||
| pytest --cov=./ --cov-report=xml | pytest --cov=./ --cov-report=xml | ||||
| - name: Upload coverage to Codecov | - name: Upload coverage to Codecov | ||||
| uses: codecov/codecov-action@v1 | uses: codecov/codecov-action@v1 | ||||