Skip to content

Commit

Permalink
ci: Run non-database, non-RabbitMQ tests on Windows and macOS (those …
Browse files Browse the repository at this point in the history
…tests require container operations)
  • Loading branch information
jpmckinney committed May 19, 2022
1 parent 22839f7 commit e1009cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/extensions/test_database_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from tests import spider_with_crawler

database_url = os.getenv('KINGFISHER_COLLECT_DATABASE_URL')
skip_test_if = not database_url and not os.getenv('CI')
skip_test_if = not database_url and ('CI' not in os.environ or 'CI_SKIP' in os.environ)


def test_from_crawler_missing_arguments():
Expand Down
2 changes: 1 addition & 1 deletion tests/extensions/test_kingfisher_process_api2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from tests import ExpectedError, spider_with_crawler, spider_with_files_store

rabbit_url = os.getenv('RABBIT_URL')
skip_test_if = not rabbit_url and not os.getenv('CI')
skip_test_if = not rabbit_url and ('CI' not in os.environ or 'CI_SKIP' in os.environ)

items_scraped = [
('build_file', 'file.json', {
Expand Down

0 comments on commit e1009cf

Please sign in to comment.