-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 1.02 KB
/
checkout.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
name: Pckg Storage CI
on:
push:
branches: [master, next-8.0]
pull_request:
branches: [master, next-8.0]
jobs:
checkout:
name: Checkout
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]')"
timeout-minutes: 20
strategy:
fail-fast: true
matrix:
php-versions: ["8.0"]
steps:
- uses: actions/checkout@v2
- name: Restore Composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-v1-${{ hashFiles('composer.lock') }}
- name: Install Composer dependencies
run: composer install --prefer-dist --no-progress --optimize-autoloader --ignore-platform-reqs
- name: Copy Codeception config
run: cp codeception.sample.yml codeception.yml
- name: Run tests
run: composer test