Skip to content
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
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ name: CI

on:
push:
branches: main
branches:
- main
pull_request:
branches: main
branches:
- main
- additional-files

schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 4 * * 6"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_fixture_categories(app, script_info, db, es, location):
res = runner.invoke(cli_categories, [], obj=script_info)
assert res.exit_code == 0
categories = RecordMetadata.query.all()
assert len(categories) == 7
assert len(categories) == 8
for category in categories:
assert "VIDEO" in category.json["types"]

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_schema_datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def test_video_metadata_tranform(app, video_record_metadata, recid_pid):
{"creatorName": "pluto"},
{"creatorName": "zio paperino"},
],
"contributors": [],
"dates": [{"date": "2017-03-02", "dateType": "Issued"}],
"descriptions": [
{
Expand Down