Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run checks on python 3.12 #13

Merged
merged 6 commits into from
Oct 4, 2023
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
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* groovylint-disable DuplicateStringLiteral, MethodReturnTypeRequired, NestedBlockDepth, NoDef */
Map parallelStages = [:]
pythonsArray = ['3.8', '3.9', '3.10', '3.11']
pythonsArray = ['3.8', '3.9', '3.10', '3.11', '3.12']
testStage = 'jobScrapperCI/run_tests'
runStage = 'jobScrapperCI/run_scrapper'
banditStage = 'jobScrapperCI/run_bandit'
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# jobScrapper

### JustJoinIt scrapper temporarily disabled, API is unreachable - no further information, if it will be back.

## Description
Simple python project, that should make it easier to be up to date with jobs offers. Websites like BulldogJob, Nofluffjobs or JustJoinIt have this nasty fature - job offers that are "refreshed" are bumped to the top of the page, so it is easy to get lost of track and even apply to the same job twice.

Expand Down
8 changes: 4 additions & 4 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
setup.run(EXCEL_NAME, NOFLUFFJOBS_SHEET, BULLDOGJOB_SHEET, JUSTJOINIT_SHEET)
nofluffjobs.run(NOFLUFFJOBS_SHEET, NOFLUFFJOBS_URL)
bulldogjob.run(BULLDOGJOB_SHEET, BULLDOGJOB_URL)
justjoinit.run(JUSTJOINIT_SHEET,
role=justjoinit_settings['role'],
lvl=justjoinit_settings['lvl'],
city=justjoinit_settings['city'])
# justjoinit.run(JUSTJOINIT_SHEET,
# role=justjoinit_settings['role'],
# lvl=justjoinit_settings['lvl'],
# city=justjoinit_settings['city'])
8 changes: 4 additions & 4 deletions tests/test_linksReachable.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_is_BulldogJob_reachable():
response = requests.get(link, timeout=120, headers=headers)
assert response.status_code == 200

def test_is_JustJoinIt_reachable():
link = 'https://justjoin.it/api/offers'
response = requests.get(link, timeout=120)
assert response.status_code == 200
# def test_is_JustJoinIt_reachable():
# link = 'https://justjoin.it/api/offers'
# response = requests.get(link, timeout=120)
# assert response.status_code == 200