Skip to content

Commit 31b680e

Browse files
eXorusDavertMik
andauthored
Replace Travis by Github Actions (#3)
* Create main.yml * Update main.yml * Update main.yml * Update main.yml * Delete .travis.yml * Update main.yml * Update readme.md * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update composer.json * Update main.yml Co-authored-by: Michael Bodnarchuk <[email protected]>
1 parent c86417a commit 31b680e

File tree

4 files changed

+31
-23
lines changed

4 files changed

+31
-23
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
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+
coverage: none
22+
23+
- name: Validate composer.json and composer.lock
24+
run: composer validate
25+
26+
- name: Install dependencies
27+
run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
28+
29+
- name: Run test suite
30+
run: php vendor/bin/codecept run

.travis.yml

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

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
}
1212
],
1313
"minimum-stability": "RC",
14-
1514
"require": {
1615
"php": ">=5.6.0 <8.0",
1716
"flow/jsonpath": "^0.5",

readme.md

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

3-
[![Build Status](https://travis-ci.org/Codeception/module-rest.svg?branch=master)](https://travis-ci.org/Codeception/module-rest)
3+
![Build Status](https://github.com/Codeception/module-rest/workflows/CI/badge.svg)
44

55
## Installation
66

0 commit comments

Comments
 (0)