Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,23 +107,23 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
if: ${{ !cancelled() }}
continue-on-error: ${{ matrix.experimental }}
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false # optional (default = false)

- name: Get Cover
uses: orgoro/coverage@3f13a558c5af7376496aa4848bf0224aead366ac # v3.2
if: ${{ !cancelled() }}
continue-on-error: ${{ matrix.experimental }}
continue-on-error: true
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload test results to Codecov
uses: codecov/test-results-action@v1
if: ${{ !cancelled() }}
continue-on-error: ${{ matrix.experimental }}
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false # optional (default = false)
3 changes: 1 addition & 2 deletions ckanext/xloader/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ def split_copy_by_size(input_file, engine, logger, resource_id, headers, delimit

logger.info('Completed chunked processing: %s chunks processed for file size %s bytes', chunk_count, file_size)
if infile:
infile.close()
os.remove(infile.name)
cleanup_temp_file(infile)


def _read_metadata(table_filepath, mimetype, logger):
Expand Down
Loading