Skip to content

Commit 5744201

Browse files
add integration test job
1 parent 3fe4ec0 commit 5744201

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,31 @@ jobs:
6565
if: ${{ contains(needs.*.result, 'failure') }}
6666
run: exit 1
6767

68+
integration:
69+
runs-on: ubuntu-latest
70+
environment: integration
71+
steps:
72+
- uses: actions/checkout@v4
73+
74+
- name: Install uv
75+
uses: astral-sh/setup-uv@v3
76+
with:
77+
enable-cache: true
78+
version: ${{ env.UV_VERSION }}
79+
80+
- name: Run tests with integration tests enabled
81+
env:
82+
TEST_ACCOUNT_NAME: ${{ vars.TEST_ACCOUNT_NAME }}
83+
TEST_ACCOUNT_TYPE: ${{ vars.TEST_ACCOUNT_TYPE }}
84+
TEST_APP_ID: ${{ vars.TEST_APP_ID }}
85+
TEST_CLIENT_ID: ${{ vars.TEST_CLIENT_ID }}
86+
TEST_INSTALLATION_ID: ${{ vars.TEST_INSTALLATION_ID }}
87+
TEST_NAME: ${{ vars.TEST_NAME }}
88+
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
89+
TEST_WEBHOOK_SECRET: ${{ secrets.TEST_WEBHOOK_SECRET }}
90+
run: |
91+
uv run nox --session "test" -- --integration
92+
6893
types:
6994
runs-on: ubuntu-latest
7095
steps:

0 commit comments

Comments
 (0)