diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml index 6745cc8a..d8c9a7ae 100644 --- a/.github/workflows/integration_tests.yaml +++ b/.github/workflows/integration_tests.yaml @@ -56,23 +56,31 @@ jobs: source $(poetry env info --path)/bin/activate poetry install --with docs,test coverage run -m pytest florist/tests/integration && coverage xml && coverage report -m - - # TODO enable this once we have intergation tests for the UI -# - name: Setup yarn -# uses: mskelton/setup-yarn@v1 -# - name: Install nextjs dependencies and check code -# run: | -# yarn -# yarn integration-test - - - name: Upload coverage to Codecov + - name: Upload python coverage to Codecov uses: Wandalen/wretry.action@v1.4.4 with: action: codecov/codecov-action@v4.0.1 with: | token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml name: codecov-umbrella fail_ci_if_error: true attempt_limit: 5 attempt_delay: 30000 + + # TODO enable this once we have integration tests for the UI +# - name: Setup yarn +# uses: mskelton/setup-yarn@v1 +# - name: Install nextjs dependencies and check code +# run: | +# yarn +# yarn integration-test +# - name: Upload js coverage to Codecov +# uses: Wandalen/wretry.action@v1.4.4 +# with: +# action: codecov/codecov-action@v4.0.1 +# with: | +# token: ${{ secrets.CODECOV_TOKEN }} +# name: codecov-umbrella +# fail_ci_if_error: true +# attempt_limit: 5 +# attempt_delay: 30000 diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 8be24ad8..cced1e6d 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -49,19 +49,28 @@ jobs: source $(poetry env info --path)/bin/activate poetry install --with docs,test coverage run -m pytest florist/tests/unit && coverage xml && coverage report -m + - name: Upload python coverage to Codecov + uses: Wandalen/wretry.action@v1.4.4 + with: + action: codecov/codecov-action@v4.0.1 + with: | + token: ${{ secrets.CODECOV_TOKEN }} + name: codecov-umbrella + fail_ci_if_error: true + attempt_limit: 5 + attempt_delay: 30000 - name: Setup yarn uses: mskelton/setup-yarn@v1 - name: Install nextjs dependencies and check code run: | yarn yarn unit-test - - name: Upload coverage to Codecov + - name: Upload js coverage to Codecov uses: Wandalen/wretry.action@v1.4.4 with: action: codecov/codecov-action@v4.0.1 with: | token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml name: codecov-umbrella fail_ci_if_error: true attempt_limit: 5 diff --git a/tsconfig.json b/tsconfig.json index e06a4454..16cd36bc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,5 +24,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "jest.config.ts"] }