From 495f2425bc252a52d0bc73fd92960066c9dacd09 Mon Sep 17 00:00:00 2001 From: ibrahim Date: Tue, 25 Feb 2020 15:55:39 +0100 Subject: [PATCH] add integration tests to ci --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09bf19f..3202572 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,3 +50,18 @@ jobs: - name: Run client tests run: docker-compose -f docker-compose.yaml exec -T postgres-server bash -c "sudo createuser publicuser --no-createrole --no-createdb --no-superuser -U postgres && cd /dataservices-api/client/ && sudo make clean all install installcheck" timeout-minutes: 5 + + integration-staging: + runs-on: ubuntu-latest + strategy: + matrix: + python_version: ['2.7'] + steps: + - uses: actions/checkout@v1 + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python_version }} + - name: run tests + run: cd test && pip install -r requirements.txt && python run_tests.py --host=carto-staging.com dataservices-api-integration ${{ secrets.INTEGRATION_TEST_API_KEY }} +