Skip to content

Commit

Permalink
add cryo-em to regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrosengrant committed Sep 7, 2023
1 parent 1bd05fb commit 67fda6a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,31 @@ jobs:
docker run --rm \
-v $(pwd)/nanome:/usr/local/lib/python3.8/site-packages/nanome \
${{ env.IMAGE_URI }} \
python -m unittest discover testsz
cryo-em-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/cryo-em:latest
steps:
- uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Login to Amazon ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v1
with:
registry-type: public
- name: Pull Latest image
run: |
docker pull ${{ env.IMAGE_URI }}
- name: Run tests with newest lib
run: |
docker run --rm \
-v $(pwd)/nanome:/opt/conda/lib/python3.9/site-packages/nanome \
${{ env.IMAGE_URI }} \
python -m unittest discover tests

0 comments on commit 67fda6a

Please sign in to comment.