File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,18 @@ jobs:
65
65
git clone https://github.com/uc-cdis/dictionaryutils
66
66
cd dictionaryutils
67
67
poetry install -vv --all-extras --no-interaction
68
+ echo "Removing 'gdcdictionary' and re-installing in following step"
69
+ poetry remove gdcdictionary
68
70
- name : Attempt poetry or pip re-install of dictionary as `gdcdictionary`
69
71
# install via pip or poetry conditionally
70
72
run : |
71
73
echo "installing the dictionary as 'gdcdictionary'"
72
74
if [ -f setup.py ]; then
73
- pip install -e .
75
+ echo "Install via pip"
76
+ pip install .
74
77
fi
75
78
if [ -f pyproject.toml ]; then
79
+ echo "Install via poetry"
76
80
poetry install -vv --all-extras --no-interaction || true
77
81
fi
78
82
- name : Run dictionary tests, dump schema, and move to S3
84
88
echo "dependencies after run_test"
85
89
poetry show
86
90
aws s3 cp artifacts/schema.json s3://${{ inputs.BUCKET }}/${{ inputs.DIRECTORY }}/$GITHUB_REF_NAME/schema.json --region ${{ inputs.REGION }}
91
+ echo "Schema dir for artifact: "
92
+ python -c "from gdcdictionary import SCHEMA_DIR; print(SCHEMA_DIR)"
87
93
env :
88
94
AWS_ACCESS_KEY_ID : ${{ secrets.DICT_AWS_ACCESS_KEY_ID }}
89
95
AWS_SECRET_ACCESS_KEY : ${{ secrets.DICT_AWS_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments