forked from openwallet-foundation/acapy
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (47 loc) · 1.21 KB
/
pr-tests.yml
File metadata and controls
52 lines (47 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: PR Tests
on:
pull_request:
permissions:
contents: read
pull-requests: read
checks: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Tests
uses: ./.github/actions/run-unit-tests
with:
python-version: "3.13"
os: "ubuntu-latest"
is_pr: "true"
postgres-tests:
name: PostgreSQL Integration Tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15-alpine
env:
POSTGRES_USER: acapy_test
POSTGRES_PASSWORD: acapy_test_pass
POSTGRES_DB: acapy_test_db
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: PostgreSQL Integration Tests
uses: ./.github/actions/run-postgres-tests
with:
python-version: "3.13"
os: "ubuntu-latest"