Skip to content

Commit

Permalink
Initial work for full end to end conda-store-server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
costrouc committed Aug 20, 2021
1 parent 92ced4c commit 547c8e8
Showing 1 changed file with 27 additions and 17 deletions.
44 changes: 27 additions & 17 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Install Dependencies
run: |
pip install .[dev]
sudo apt install wait-for-it -y
- name: Black Formatting
run: |
black --version
Expand All @@ -37,24 +38,15 @@ jobs:
run: |
flake8 --version
flake8
build-docker-image:
name: 'Build docker images'
runs-on: ubuntu-latest
strategy:
matrix:
docker-image:
- conda-store
- conda-store-server
steps:
- name: 'Checkout Infrastructure'
uses: actions/checkout@v2
- name: Docker Build, Tag, Push Image
env:
IMAGE_NAME: quansight/${{ matrix.docker-image }}
IMAGE_TAG: ${{ github.sha }}
- name: Deploy docker-compose
run: |
docker build -t $IMAGE_NAME:$IMAGE_TAG ${{ matrix.docker-image }}
docker-compose up -d
docker ps
wait-for-it localhost:5432 # postgresql
wait-for-it localhost:9000 # minio
wait-for-it localhost:8000 # jupyterhub
wait-for-it localhost:5000 # conda-store-server
test-conda-store:
name: 'Test conda-store'
Expand All @@ -79,3 +71,21 @@ jobs:
run: |
yarn
pip install .
build-docker-image:
name: 'Build docker images'
runs-on: ubuntu-latest
strategy:
matrix:
docker-image:
- conda-store
- conda-store-server
steps:
- name: 'Checkout Infrastructure'
uses: actions/checkout@v2
- name: Docker Build, Tag, Push Image
env:
IMAGE_NAME: quansight/${{ matrix.docker-image }}
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $IMAGE_NAME:$IMAGE_TAG ${{ matrix.docker-image }}

0 comments on commit 547c8e8

Please sign in to comment.