diff --git a/.github/workflows/codecov.txt b/.github/workflows/codecov.txt deleted file mode 100644 index a302bd4edf8..00000000000 --- a/.github/workflows/codecov.txt +++ /dev/null @@ -1,62 +0,0 @@ -name: Codecov -env: - PIP_DEFAULT_TIMEOUT: 100 - GTFF_USE_PROMPT_TOOLKIT: false - GTFF_USE_ION: false - GTFF_ENABLE_QUICK_EXIT: true -on: [pull_request, push] -jobs: - run: - name: Codecov Report - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Setup Python - uses: actions/setup-python@master - with: - python-version: 3.7 - - - name: Checkout Code - uses: actions/checkout@v2 - - - name: Setup Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: "3.9" - architecture: x64 - - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - version: 1.1.11 - virtualenvs-create: true - virtualenvs-in-project: true - - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v2 - with: - path: .venv - key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} - - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root - - - name: Install Package - run: poetry install --no-interaction - - - name: Generate coverage report - run: | - source $VENV - pytest --cov=./ --cov-report=xml - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 - with: - token: ${{ secrets.CODECOV_TOKEN }} - env_vars: OS,PYTHON - fail_ci_if_error: true - files: ./coverage.xml - flags: unittests - name: codecov-umbrella - verbose: true