-
Notifications
You must be signed in to change notification settings - Fork 310
58 lines (47 loc) · 1.19 KB
/
deps.yml
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
name: Dependency tests
on:
schedule:
- cron: '1 3 * * *'
workflow_dispatch:
jobs:
stable:
name: Test @stable deps
uses: ./.github/workflows/run-tests.yml
dev:
name: Test @dev deps
uses: ./.github/workflows/run-tests.yml
with:
deps: dev
lowest:
name: Test --prefer-lowest deps
uses: ./.github/workflows/run-tests.yml
with:
deps: lowest
continue_on_error: true
build:
name: Test Phar build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
- name: Install PHP
uses: shivammathur/[email protected]
with:
php-version: '7.4'
tools: composer:v2
coverage: none
- name: Install dependencies
uses: nick-fields/[email protected]
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress
- name: Build Phar binaries
run: make build
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: binaries
path: build/*/psysh
- name: Smoke test
run: .github/bin/smoketest.sh