Skip to content

Commit 2f43547

Browse files
committed
tmate
1 parent 4b955e4 commit 2f43547

File tree

1 file changed

+65
-57
lines changed

1 file changed

+65
-57
lines changed

.github/workflows/integration_tests.yml

Lines changed: 65 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,23 @@ jobs:
4848
role-session-name: python_integration_tests
4949
role-duration-seconds: 21600
5050
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
51-
52-
- name: 'Run LTS Integration Tests'
53-
run: |
54-
./gradlew --no-parallel --no-daemon test-python-${{ matrix.python-version }}-${{ matrix.environment }} --info
51+
- name: Setup upterm session
52+
uses: owenthereal/action-upterm@v1
5553
env:
5654
RDS_CLUSTER_DOMAIN: ${{ secrets.DB_CONN_SUFFIX }}
5755
RDS_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
5856
AURORA_MYSQL_DB_ENGINE_VERSION: lts
5957
AURORA_PG_ENGINE_VERSION: lts
58+
59+
60+
# - name: 'Run LTS Integration Tests'
61+
# run: |
62+
# ./gradlew --no-parallel --no-daemon test-python-${{ matrix.python-version }}-${{ matrix.environment }} --info
63+
# env:
64+
# RDS_CLUSTER_DOMAIN: ${{ secrets.DB_CONN_SUFFIX }}
65+
# RDS_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
66+
# AURORA_MYSQL_DB_ENGINE_VERSION: lts
67+
# AURORA_PG_ENGINE_VERSION: lts
6068

6169
- name: 'Archive LTS results'
6270
if: always()
@@ -66,56 +74,56 @@ jobs:
6674
path: ./tests/integration/container/reports
6775
retention-days: 5
6876

69-
latest-integration-tests:
70-
name: Run Latest Integration Tests
71-
runs-on: ubuntu-latest
72-
needs: lts-integration-tests
73-
strategy:
74-
fail-fast: false
75-
matrix:
76-
python-version: [ "3.11", "3.12", "3.13" ]
77-
environment: ["mysql", "pg"]
78-
79-
steps:
80-
- name: 'Clone repository'
81-
uses: actions/checkout@v4
82-
83-
- name: 'Set up JDK 8'
84-
uses: actions/setup-java@v4
85-
with:
86-
distribution: 'corretto'
87-
java-version: 8
88-
89-
- name: Install poetry
90-
shell: bash
91-
run: |
92-
pipx install poetry==1.8.2
93-
poetry config virtualenvs.prefer-active-python true
94-
95-
- name: Install dependencies
96-
run: poetry install
97-
98-
- name: 'Configure AWS Credentials'
99-
uses: aws-actions/configure-aws-credentials@v4
100-
with:
101-
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}
102-
role-session-name: python_integration_tests
103-
role-duration-seconds: 21600
104-
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
105-
106-
- name: 'Run Latest Integration Tests'
107-
run: |
108-
./gradlew --no-parallel --no-daemon test-python-${{ matrix.python-version }}-${{ matrix.environment }} --info
109-
env:
110-
RDS_CLUSTER_DOMAIN: ${{ secrets.DB_CONN_SUFFIX }}
111-
RDS_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
112-
AURORA_MYSQL_DB_ENGINE_VERSION: latest
113-
AURORA_PG_ENGINE_VERSION: latest
114-
115-
- name: 'Archive Latest results'
116-
if: always()
117-
uses: actions/upload-artifact@v4
118-
with:
119-
name: pytest-integration-report-${{ matrix.python-version }}-${{ matrix.environment }}-latest
120-
path: ./tests/integration/container/reports
121-
retention-days: 5
77+
# latest-integration-tests:
78+
# name: Run Latest Integration Tests
79+
# runs-on: ubuntu-latest
80+
# needs: lts-integration-tests
81+
# strategy:
82+
# fail-fast: false
83+
# matrix:
84+
# python-version: [ "3.11", "3.12", "3.13" ]
85+
# environment: ["mysql", "pg"]
86+
87+
# steps:
88+
# - name: 'Clone repository'
89+
# uses: actions/checkout@v4
90+
91+
# - name: 'Set up JDK 8'
92+
# uses: actions/setup-java@v4
93+
# with:
94+
# distribution: 'corretto'
95+
# java-version: 8
96+
97+
# - name: Install poetry
98+
# shell: bash
99+
# run: |
100+
# pipx install poetry==1.8.2
101+
# poetry config virtualenvs.prefer-active-python true
102+
103+
# - name: Install dependencies
104+
# run: poetry install
105+
106+
# - name: 'Configure AWS Credentials'
107+
# uses: aws-actions/configure-aws-credentials@v4
108+
# with:
109+
# role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}
110+
# role-session-name: python_integration_tests
111+
# role-duration-seconds: 21600
112+
# aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
113+
114+
# - name: 'Run Latest Integration Tests'
115+
# run: |
116+
# ./gradlew --no-parallel --no-daemon test-python-${{ matrix.python-version }}-${{ matrix.environment }} --info
117+
# env:
118+
# RDS_CLUSTER_DOMAIN: ${{ secrets.DB_CONN_SUFFIX }}
119+
# RDS_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
120+
# AURORA_MYSQL_DB_ENGINE_VERSION: latest
121+
# AURORA_PG_ENGINE_VERSION: latest
122+
123+
# - name: 'Archive Latest results'
124+
# if: always()
125+
# uses: actions/upload-artifact@v4
126+
# with:
127+
# name: pytest-integration-report-${{ matrix.python-version }}-${{ matrix.environment }}-latest
128+
# path: ./tests/integration/container/reports
129+
# retention-days: 5

0 commit comments

Comments
 (0)