From 56b4931e41c33477e88dca5c21349f5497b3989d Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Tue, 11 May 2021 12:28:26 -0500 Subject: [PATCH] Code cov: Attempt to fix, properly this time --- .github/workflows/codecov.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 0286245..4a6ffb7 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -11,15 +11,23 @@ jobs: PYTHON: '3.7' steps: - uses: actions/checkout@master + - name: Download submodules + run: | + git submodule update --init --recursive + git submodule sync -q + git submodule update --init - name: Setup Python uses: actions/setup-python@master with: python-version: 3.7 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r test-requirements.txt - name: Generate coverage report run: | pip install pytest pip install pytest-cov - pip install js2py pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v1