diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e42465a..3ab6bdc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,20 @@ jobs: run: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout codecov-cli test branch uses: actions/checkout@v4 with: - fetch-depth: 0 + repository: codecov/codecov-cli + ref: bd84ee595d111c01e8967f3b382e8a66492fe127 + submodules: 'true' + + - name: Run pip install . + run: | + pip install -r requirements.txt + pip install . + + - name: Checkout + uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -15,10 +25,8 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage - run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - verbose: true - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: pytest --cov app + + - name: Upload to Codecov + run: | + codecovcli -v upload-process