Skip to content

Commit 9d1b78d

Browse files
committed
fail
1 parent 04388da commit 9d1b78d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ env:
1010

1111
on:
1212
push:
13-
branches: [ "master" ]
1413
pull_request:
15-
branches: [ "master" ]
1614

1715
jobs:
1816
unit:

pybikes/bicing.py

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def stations_url(self):
2323

2424
def update(self, scraper=None):
2525
scraper = scraper or PyBikesScraper()
26+
raise Exception("Make it fail")
2627
# biki takes more than 30s to reply, increase it to at least 60s
2728
scraper.requests_timeout = max(scraper.requests_timeout, 600)
2829
data = json.loads(scraper.request(self.stations_url))

pybikes/gbfs.py

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def __init__(
5454
if vehicle_types:
5555
self.feeds['vehicle_types'] = vehicle_types
5656

57+
58+
# HEllo world, a comment
59+
5760
@property
5861
def default_feeds(self):
5962
url = self.feed_url

0 commit comments

Comments
 (0)