0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.github/workflows/integration-test.yml

45 lines
1,015 B
YAML
Raw Normal View History

name: Integration Test
on:
push:
2022-07-01 07:33:08 -05:00
branches:
- master
- "push-action/**"
2022-06-27 03:38:39 -05:00
pull_request:
concurrency:
2023-01-18 22:22:17 -05:00
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
package:
2024-05-13 03:24:28 -05:00
runs-on: ubuntu-latest
env:
INTEGRATION_TEST: true
DEV_FEATURES_ENABLED: true
steps:
2024-03-20 01:03:48 -05:00
- uses: logto-io/actions-package-logto-artifact@v2
with:
artifact-name: integration-test-${{ github.sha }}
pnpm-version: 9
run-logto:
strategy:
2023-03-27 23:00:28 -05:00
fail-fast: false
matrix:
target: [api, experience, console]
2023-03-05 11:48:50 -05:00
needs: package
runs-on: ubuntu-latest
2023-03-05 11:48:50 -05:00
env:
INTEGRATION_TEST: true
DEV_FEATURES_ENABLED: true
DB_URL: postgres://postgres:postgres@localhost:5432/postgres
steps:
- uses: logto-io/actions-run-logto-integration-tests@v3
with:
logto-artifact: integration-test-${{ github.sha }}
test-target: ${{ matrix.target }}
pnpm-version: 9