Skip to content

Commit f29bd06

Browse files
authored
Merge pull request #28 from Codeception/github-actions
Use Github Actions
2 parents 468dd5f + 4b7d3c8 commit f29bd06

File tree

3 files changed

+30
-19
lines changed

3 files changed

+30
-19
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
php: [7.2, 7.3, 7.4, 8.0]
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
22+
- name: Validate composer.json
23+
run: composer validate
24+
25+
- name: Install dependencies
26+
run: composer update --prefer-source
27+
28+
- name: Run test suite
29+
run: php vendor/bin/phpunit tests

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codeception\Stub
22

3-
[![Build Status](https://travis-ci.org/Codeception/Stub.svg?branch=master)](https://travis-ci.org/Codeception/Stub)
3+
![CI](https://github.com/Codeception/Stub/workflows/CI/badge.svg)
44
[![Latest Stable Version](https://poser.pugx.org/codeception/stub/v/stable)](https://packagist.org/packages/codeception/stub)
55
[![Total Downloads](https://poser.pugx.org/codeception/stub/downloads)](https://packagist.org/packages/codeception/stub)
66
[![License](https://poser.pugx.org/codeception/stub/license)](https://packagist.org/packages/codeception/stub)

0 commit comments

Comments
 (0)