Closed tuomas777 closed 3 years ago
Merging #31 (70877a8) into main (c3d6554) will increase coverage by
0.74%
. The diff coverage is94.66%
.
@@ Coverage Diff @@
## main #31 +/- ##
==========================================
+ Coverage 87.94% 88.69% +0.74%
==========================================
Files 39 41 +2
Lines 1062 1132 +70
Branches 75 82 +7
==========================================
+ Hits 934 1004 +70
- Misses 101 102 +1
+ Partials 27 26 -1
Impacted Files | Coverage Δ | |
---|---|---|
gtfs/importers/gtfs_feed_importer.py | 85.54% <86.95%> (+1.03%) |
:arrow_up: |
gtfs/models/shape.py | 94.44% <94.44%> (ø) |
|
gtfs/admin.py | 75.55% <100.00%> (+2.38%) |
:arrow_up: |
gtfs/api/shapes.py | 100.00% <100.00%> (ø) |
|
gtfs/models/__init__.py | 100.00% <100.00%> (ø) |
|
gtfs/models/trip.py | 96.87% <100.00%> (+0.20%) |
:arrow_up: |
maritime_maas/urls.py | 95.65% <100.00%> (+0.41%) |
:arrow_up: |
gtfs/models/base.py | 100.00% <0.00%> (+6.66%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update c3d6554...70877a8. Read the comment docs.
Added Shape model and shapes API endpoint, and implemented importing of GTFS shapes.txt into the model. The API returns the shapes' geometries as GeoJSON LineString objects.
Also added the shapes to the demo frontend. Beautiful.