Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 6e37550

Browse files
committed
Use Github actions
1 parent 72bac77 commit 6e37550

File tree

3 files changed

+44
-26
lines changed

3 files changed

+44
-26
lines changed

.github/workflows/build.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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.3, 7.4]
12+
13+
env:
14+
CODECEPTION_VERSION: '4.1.x-dev'
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: ${{ matrix.php }}
24+
coverage: xdebug
25+
26+
- name: Prepare dependencies
27+
run: |
28+
wget https://robo.li/robo.phar
29+
php robo.phar prepare:dependencies
30+
composer update
31+
php robo.phar prepare:tests
32+
php robo.phar prepare:test-autoloading
33+
composer dump-autoload
34+
35+
- name: Run test suite
36+
run: |
37+
php ./codecept run -c vendor/codeception/module-asserts/
38+
php ./codecept run unit -g core
39+
php ./codecept run cli

.travis.yml

-21
This file was deleted.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# PHPUnit Wrapper
22

33
Builds:
4-
* 9.0 [![Build Status](https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=9.0)](https://travis-ci.org/Codeception/phpunit-wrapper)
5-
* 8.0 [![Build Status](https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=8.0)](https://travis-ci.org/Codeception/phpunit-wrapper)
6-
* 7.1 [![Build Status](https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=7.1)](https://travis-ci.org/Codeception/phpunit-wrapper)
7-
* 6.5 [![Build Status](https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=6.5)](https://travis-ci.org/Codeception/phpunit-wrapper)
8-
* 6.0 [![Build Status](https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=6.0)](https://travis-ci.org/Codeception/phpunit-wrapper)
4+
* 9.0 ![Build Status](https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=9.0)
5+
* 8.0 ![Build Status](https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=8.0)
6+
* 7.1 ![Build Status](https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=7.1)
7+
* 6.5 ![Build Status](https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=6.5)
8+
* 6.0 ![Build Status](https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=6.0)
99

1010

1111
Codeception heavily relies on PHPUnit for running and managing tests.

0 commit comments

Comments
 (0)