Skip to content
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: |
composer require phpunit/phpunit "<=8.5.2" --no-update --ignore-platform-reqs
composer install --prefer-dist --no-progress --no-interaction --no-suggest

- name: Run test suite
run: php vendor/bin/codecept run
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
}
],
"minimum-stability": "RC",

"require": {
"php": ">=5.6.0 <8.0",
"codeception/lib-asserts": "^1.12.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Codeception module containing various assertions

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

## Installation

Expand Down