Skip to content

Commit

Permalink
Contribution metadata tests (duneanalytics#4748)
Browse files Browse the repository at this point in the history
* test

* test

* blame test

* fetch depth test

* revert to using main branch ahead of merge

* uncomment functions
  • Loading branch information
couralex6 authored Nov 8, 2023
1 parent 4c5fd0c commit b9480f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/spellbook_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0

- name: Setup variables
run: |
Expand All @@ -32,7 +33,7 @@ jobs:
pip install pyyaml
- name: Create Manifest
run: "dbt compile --target-path . --profiles-dir $HOME/.dbt --profile dunesql"
run: "dbt compile --profiles-dir $HOME/.dbt --profile dunesql"

- name: Upload translation status CSV to Dune
env:
Expand Down
2 changes: 1 addition & 1 deletion scripts/spells_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_projects_and_sectors():
upload_csv(csv_string, "spellbook_projects_and_sectors")

def main():
with open("manifest.json", "r") as f:
with open("target/manifest.json", "r") as f:
# print(f"Loading manifest file at {manifest_path} ...")
manifest = json.load(f)
authors = {}
Expand Down

0 comments on commit b9480f8

Please sign in to comment.