• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-locking-service / 9108639077
92%

Build:
DEFAULT BRANCH: main
Ran 16 May 2024 08:02AM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 May 2024 08:00AM UTC coverage: 89.53% (+0.8%) from 88.727%
9108639077

push

github

web-flow
Add view to process and create Activities (#91)

- A new view was added to allow for uploading and processing the given CSV. The view is under: `<BASE_URL>/api/v1/campaigns/upload`.
- Adds a new Celery task to process the CSV file entries asynchronously. The task is `process_csv_task` and uses the `default` queue.
- Since the uploaded CSV is supposed to represent the final state of a given period, instead of trying to compute a diff, we delete all the entries for a given period and process the file again. This was done for simplicity reasons.
- Processing the CSV entries are done in the context of DB transaction – i.e. no partial updates.
- Removes the CSV helper – it was added based on the assumption that it could be used in more places. This was replaced by a direct usage of `csv.DictReader`

164 of 166 new or added lines in 7 files covered. (98.8%)

1599 of 1786 relevant lines covered (89.53%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9108639077.1 16 May 2024 08:02AM UTC 0
89.53
GitHub Action Run
Source Files on build 9108639077
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9108639077
  • 0045a398 on github
  • Prev Build on main (#9101825408)
  • Next Build on main (#9157543799)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc