Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdddog committed May 3, 2023
1 parent 65e8bfb commit 5f752dd
Show file tree
Hide file tree
Showing 38 changed files with 242 additions and 93 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
TEST_GCP_PROJECT_ID: ${{ secrets.TEST_GCP_PROJECT_ID }}
TEST_GCP_SERVICE_KEY: ${{ secrets.TEST_GCP_SERVICE_KEY }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_application_credentials.json
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AIRFLOW__CORE__LOAD_EXAMPLES: false
run: |
echo "${TEST_GCP_SERVICE_KEY}" | base64 --decode > /tmp/google_application_credentials.json
Expand Down
14 changes: 4 additions & 10 deletions academic_observatory_workflows/database/schema/openalex/works.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,22 +382,16 @@
"name": "cited_by_count",
"type": "INTEGER",
"mode": "NULLABLE",
"description": "todo"
},
{
"name": "works_count",
"type": "INTEGER",
"mode": "NULLABLE",
"description": "todo"
"description": "The number of times this work is cited in this year."
},
{
"name": "year",
"type": "INTEGER",
"mode": "NULLABLE",
"description": ""
"description": "The year."
}
],
"description": "todo"
"description": "Works.cited_by_count for each of the last ten years, binned by year. To put it another way: each year, you can see how many times this work was cited."
},
{
"name": "created_date",
Expand Down Expand Up @@ -814,7 +808,7 @@
},
{
"name": "publication_date",
"type": "STRING",
"type": "DATE",
"mode": "NULLABLE",
"description": "The day when this work was published, formatted as an ISO 8601 date.\nWhere different publication dates exist, we select the earliest available date of electronic publication. \nThis date applies to the version found at Work.url. The other versions, found in Work.alternate_host_venues, may have been published at different (earlier) dates."
},
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading

0 comments on commit 5f752dd

Please sign in to comment.