Skip to content

Commit

Permalink
Uploading twice
Browse files Browse the repository at this point in the history
  • Loading branch information
lotif committed Apr 26, 2024
1 parent 4ee8e21 commit f61a082
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 14 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
action: codecov/[email protected]
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/[email protected]
# with:
# action: codecov/[email protected]
# with: |
# token: ${{ secrets.CODECOV_TOKEN }}
# name: codecov-umbrella
# fail_ci_if_error: true
# attempt_limit: 5
# attempt_delay: 30000
13 changes: 11 additions & 2 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
action: codecov/[email protected]
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/[email protected]
with:
action: codecov/[email protected]
with: |
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
name: codecov-umbrella
fail_ci_if_error: true
attempt_limit: 5
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules", "jest.config.ts"]
}

0 comments on commit f61a082

Please sign in to comment.