|
48 | 48 | if: contains(fromJSON('["postgres"]'), matrix.profile) |
49 | 49 | run: docker-compose up -d |
50 | 50 |
|
51 | | - - name: Start trino |
52 | | - working-directory: fal/projects/adapter/integration_tests/configs/trino |
53 | | - if: contains(fromJSON('["trino"]'), matrix.profile) |
54 | | - run: docker-compose up -d |
55 | | - |
56 | | - - name: Setup sqlserver dependencies |
57 | | - if: contains(fromJSON('["sqlserver"]'), matrix.profile) |
58 | | - run: | |
59 | | - sudo apt install unixodbc-dev |
60 | | - sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - |
61 | | - curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list > prod.list |
62 | | - sudo cp prod.list /etc/apt/sources.list.d/mssql-release.list |
63 | | - sudo apt update |
64 | | - sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 |
65 | | -
|
66 | | - - name: Start sqlserver |
67 | | - working-directory: fal/projects/adapter/integration_tests/configs/sqlserver |
68 | | - if: contains(fromJSON('["sqlserver"]'), matrix.profile) |
69 | | - run: | |
70 | | - docker-compose up -d |
71 | | -
|
72 | 51 | - name: Setup latest dependencies |
73 | 52 | working-directory: fal/projects/adapter/integration_tests |
74 | 53 | run: | |
@@ -140,17 +119,3 @@ jobs: |
140 | 119 | fi |
141 | 120 |
|
142 | 121 | behave $BEHAVE_TAGS -fplain -D profile=${{ matrix.profile }} --no-capture |
143 | | -
|
144 | | - - name: Send custom JSON data to Slack workflow |
145 | | - if: (failure() || cancelled()) && github.event_name == 'schedule' |
146 | | - id: slack |
147 | | - |
148 | | - with: |
149 | | - # For posting a rich message using Block Kit |
150 | | - payload: | |
151 | | - { |
152 | | - "text": "Integration tests failed for dbt-${{ matrix.profile }}@${{ matrix.dbt }} (Python ${{ matrix.python }})\nhttps://github.com/fal-ai/fal/actions/runs/${{ github.run_id }}" |
153 | | - } |
154 | | - env: |
155 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
156 | | - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |
0 commit comments