-
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (58 loc) · 1.6 KB
/
Copy pathpr.yml
File metadata and controls
62 lines (58 loc) · 1.6 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
53
54
55
56
57
58
59
60
61
62
name: PR
on:
pull_request:
paths:
- '**'
- '!**/*.md'
- '!**/*.yml'
- '!**/*.yaml'
- '!.ci-dockerfiles/**'
- '.github/workflows/pr.yml'
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
permissions:
packages: read
jobs:
vs-ponyc-release:
name: Test against recent ponyc release
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.2.1:release
services:
redis:
image: redis:7
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis-ssl:
image: ghcr.io/ponylang/redis-ci-redis-ssl:latest
options: >-
--health-cmd "redis-cli --tls --insecure ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis-resp2:
image: redis:5
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v6.0.2
- name: Unit tests
run: make unit-tests config=debug ssl=libressl
- name: Integration tests
run: make integration-tests config=debug ssl=libressl
env:
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_SSL_HOST: redis-ssl
REDIS_SSL_PORT: 6379
REDIS_RESP2_HOST: redis-resp2
REDIS_RESP2_PORT: 6379
- name: Build examples
run: make examples config=debug ssl=libressl