Skip to content

Commit bddcae0

Browse files
authored
ci: Re-enable integration tests
1 parent 501fa1e commit bddcae0

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,49 @@ on:
1111
description: 'Trigger a major release (optional). Leave empty for regular release.'
1212

1313
jobs:
14-
# integration-tests:
15-
# runs-on: ubuntu-latest
16-
# steps:
17-
# - name: Check out code
18-
# uses: actions/checkout@v2
14+
integration-tests:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out code
18+
uses: actions/checkout@v2
1919

20-
# - name: Set up Python 3.7
21-
# uses: actions/setup-python@v2
22-
# with:
23-
# python-version: 3.7
20+
- name: Set up Python 3.7
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: 3.7
2424

25-
# - name: Install dependencies
26-
# run: |
27-
# python -m pip install --upgrade pip
28-
# pip install ".[dev]"
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install ".[dev]"
2929
30-
# - name: Setup database and engine
31-
# id: setup
32-
# uses: firebolt-db/integration-testing-setup@master
33-
# with:
34-
# firebolt-username: ${{ secrets.FIREBOLT_USERNAME }}
35-
# firebolt-password: ${{ secrets.FIREBOLT_PASSWORD }}
36-
# api-endpoint: "api.dev.firebolt.io"
37-
# region: "us-east-1"
30+
- name: Setup database and engine
31+
id: setup
32+
uses: firebolt-db/integration-testing-setup@master
33+
with:
34+
firebolt-username: ${{ secrets.FIREBOLT_USERNAME }}
35+
firebolt-password: ${{ secrets.FIREBOLT_PASSWORD }}
36+
api-endpoint: "api.dev.firebolt.io"
37+
region: "us-east-1"
3838

39-
# - name: Run integration tests
40-
# env:
41-
# USER_NAME: ${{ secrets.FIREBOLT_USERNAME }}
42-
# PASSWORD: ${{ secrets.FIREBOLT_PASSWORD }}
43-
# DATABASE_NAME: ${{ steps.setup.outputs.database_name }}
44-
# ENGINE_NAME: ${{ steps.setup.outputs.engine_name }}
45-
# ENGINE_URL: ${{ steps.setup.outputs.engine_url }}
46-
# STOPPED_ENGINE_NAME: ${{ steps.setup.outputs.stopped_engine_name }}
47-
# STOPPED_ENGINE_URL: ${{ steps.setup.outputs.stopped_engine_url }}
48-
# FIREBOLT_BASE_URL: "api.dev.firebolt.io"
49-
# run: |
50-
# pytest -o log_cli=true -o log_cli_level=INFO tests/integration
39+
- name: Run integration tests
40+
env:
41+
USER_NAME: ${{ secrets.FIREBOLT_USERNAME }}
42+
PASSWORD: ${{ secrets.FIREBOLT_PASSWORD }}
43+
DATABASE_NAME: ${{ steps.setup.outputs.database_name }}
44+
ENGINE_NAME: ${{ steps.setup.outputs.engine_name }}
45+
ENGINE_URL: ${{ steps.setup.outputs.engine_url }}
46+
STOPPED_ENGINE_NAME: ${{ steps.setup.outputs.stopped_engine_name }}
47+
STOPPED_ENGINE_URL: ${{ steps.setup.outputs.stopped_engine_url }}
48+
FIREBOLT_BASE_URL: "api.dev.firebolt.io"
49+
run: |
50+
pytest -o log_cli=true -o log_cli_level=INFO tests/integration
5151
5252
publish:
5353
runs-on: ubuntu-latest
5454
permissions:
5555
contents: write
56-
# needs: integration-tests
56+
needs: integration-tests
5757
steps:
5858
- name: Check out code
5959
uses: actions/checkout@v2

0 commit comments

Comments
 (0)