diff --git a/.github/workflows/ci.yml b/.github/workflows/test.yml similarity index 86% rename from .github/workflows/ci.yml rename to .github/workflows/test.yml index 4ebded0dd..276589dc0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: ocelot.social CI +name: ocelot.social test CI on: [push] @@ -241,43 +241,4 @@ jobs: run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps webapp - name: webapp | Unit tests #run: docker run --rm ocelotsocialnetwork/webapp:build yarn run test - run: docker-compose exec -T webapp yarn test - - ############################################################################## - # JOB: DOCKER BUILD PRODUCTION & PUSH ######################################## - ############################################################################## - #build_production: - # name: Docker Build Production & Push - # runs-on: ubuntu-latest - # needs: prepare - # steps: - ########################################################################## - # CHECKOUT CODE ########################################################## - ########################################################################## - #- name: Checkout code - # uses: actions/checkout@v2 - ########################################################################## - # BACKEND ################################################################ - ########################################################################## - # TODO: We want to push this to dockerhub - #- name: Build backend production image - # uses: docker/build-push-action@v1.1.0 - # with: - # repository: ocelotsocialnetwork/backend - # tags: production - # target: production - # path: backend/ - # push: false - - ########################################################################## - # WEBAPP ################################################################# - ########################################################################## - # TODO: We want to push this to dockerhub - #- name: Build webapp production image - # uses: docker/build-push-action@v1.1.0 - # with: - # repository: ocelotsocialnetwork/webapp - # tags: production - # target: production - # path: webapp/ - # push: false \ No newline at end of file + run: docker-compose exec -T webapp yarn test \ No newline at end of file