Skip to content

Commit

Permalink
Fix no-op tests
Browse files Browse the repository at this point in the history
  - Use wget instead of curl for gene index downloads
  - Set specific unzip/rm file instructions
  - Set pre-commit to use Python 3.11
  • Loading branch information
arkid15r committed Oct 27, 2023
1 parent 504b31f commit 273afb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.OP_AWS_SECRET_ACCESS_KEY }}

- uses: actions/setup-python@v3
with:
python-version: '3.11'

- uses: hashicorp/setup-terraform@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions workers/dockerfiles/Dockerfile.no_op
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ RUN mkdir -p gene_indexes
WORKDIR /home/user/gene_indexes
ENV ID_REFINERY_URL=https://zenodo.org/record/1410647/files/all_1536267482.zip
RUN <<EOF
curl -O $ID_REFINERY_URL
echo $ID_REFINERY_URL > /etc/identifier_refinery_url
unzip *.zip
rm *.zip
wget $ID_REFINERY_URL
unzip all_1536267482.zip
rm all_1536267482.zip
EOF
# End Noop-specific.

Expand Down

0 comments on commit 273afb3

Please sign in to comment.