From 07a754218145eb4a5c2bb9edba91e01b80c01d10 Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Fri, 26 Apr 2024 12:22:30 +0200 Subject: [PATCH] fixed codecov, fixes #287 --- .github/workflows/pytest-py313.yml | 1 - .github/workflows/pytest-py39-mindeps.yml | 1 - .github/workflows/pytest.yml | 4 +++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest-py313.yml b/.github/workflows/pytest-py313.yml index 0e136f55c..354af4b97 100644 --- a/.github/workflows/pytest-py313.yml +++ b/.github/workflows/pytest-py313.yml @@ -42,4 +42,3 @@ jobs: COPERNICUS_MARINE_SERVICE_PASSWORD: ${{ secrets.COPERNICUS_MARINE_SERVICE_PASSWORD }} run: | pytest -m "not requireslocaldata" --cov=dfm_tools --cov-report xml --cov-report term - - uses: codecov/codecov-action@v1 diff --git a/.github/workflows/pytest-py39-mindeps.yml b/.github/workflows/pytest-py39-mindeps.yml index 17f719151..2ec31803e 100644 --- a/.github/workflows/pytest-py39-mindeps.yml +++ b/.github/workflows/pytest-py39-mindeps.yml @@ -47,4 +47,3 @@ jobs: COPERNICUS_MARINE_SERVICE_PASSWORD: ${{ secrets.COPERNICUS_MARINE_SERVICE_PASSWORD }} run: | pytest -m "not requireslocaldata" --cov=dfm_tools --cov-report xml --cov-report term - - uses: codecov/codecov-action@v1 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2bac2d9ed..417e3aae5 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -46,4 +46,6 @@ jobs: COPERNICUS_MARINE_SERVICE_PASSWORD: ${{ secrets.COPERNICUS_MARINE_SERVICE_PASSWORD }} run: | pytest -m "not requireslocaldata" --cov=dfm_tools --cov-report xml --cov-report term - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} \ No newline at end of file