Skip to content

Validate session id is in dict before accessing #446

Validate session id is in dict before accessing

Validate session id is in dict before accessing #446

name: Regression Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
chemical-interactions-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/chemical-interactions: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 chemical-interactions image
run: |
docker pull ${{ env.IMAGE_URI }}
- name: Run chemical-interactions tests with newest lib
run: |
docker run --rm \
-v $(pwd)/nanome:/opt/conda/lib/python3.9/site-packages/nanome \
${{ env.IMAGE_URI }} \
python run_tests.py
docking-smina-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/docking-smina: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 docking-smina image
run: |
docker pull ${{ env.IMAGE_URI }}
- name: Run docking-smina 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.smina
antibodies-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/antibodies: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 antibodies tests with newest lib
run: |
docker run --rm \
-v $(pwd)/nanome:/opt/conda/lib/python3.10/site-packages/nanome \
${{ env.IMAGE_URI }} \
python -m unittest discover tests
esp-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/esp: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
structure-prep-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/structure-prep: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
superimpose-proteins-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/superimpose-proteins: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:/usr/local/lib/python3.8/site-packages/nanome \
${{ env.IMAGE_URI }} \
python -m unittest discover tests
cryo-em-unittests:
runs-on: ubuntu-latest
env:
IMAGE_URI: public.ecr.aws/h7r1e4h2/cryoem: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