Skip to content

Commit 06e8185

Browse files
authored
Replace Travis by Github Actions (#2)
* Create main.yml * Update readme.md * Delete travis yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * composer * Update main.yml * Update composer.json
1 parent 79f13d0 commit 06e8185

File tree

4 files changed

+33
-22
lines changed

4 files changed

+33
-22
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: |
28+
composer require phpunit/phpunit "<=8.5.2" --no-update --ignore-platform-reqs
29+
composer install --prefer-dist --no-progress --no-interaction --no-suggest
30+
31+
- name: Run test suite
32+
run: php vendor/bin/codecept run

.travis.yml

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

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
}
1515
],
1616
"minimum-stability": "RC",
17-
1817
"require": {
1918
"php": ">=5.6.0 <8.0",
2019
"codeception/lib-asserts": "^1.12.0",

readme.md

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

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

55
## Installation
66

0 commit comments

Comments
 (0)