Skip to content

Commit 3242679

Browse files
Added github actions, removed travis setup
1 parent 7c6ee37 commit 3242679

File tree

3 files changed

+29
-11
lines changed

3 files changed

+29
-11
lines changed

.github/workflows/test.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Codeception Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: PHP ${{ matrix.php }} - ${{matrix.operating-system}}
8+
9+
runs-on: ${{ matrix.operating-system }}
10+
11+
strategy:
12+
matrix:
13+
operating-system: [ ubuntu-latest, ubuntu-22.04 ]
14+
php: [ '8.0', '8.1']
15+
16+
steps:
17+
- uses: actions/checkout@master
18+
19+
- name: Setup PHP
20+
uses: nanasess/setup-php@master
21+
with:
22+
php-version: ${{ matrix.php }}
23+
24+
- name: Install dependencies
25+
run: composer install
26+
27+
- name: Run tests
28+
run: php vendor/bin/codecept run

.travis.yml

-10
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kodus/jpeg
33

44
Wrapper around [jpeg-recompress](https://github.com/danielgtaylor/jpeg-archive) for Linux/Mac/Windows.
55

6-
[![Build Status](https://travis-ci.org/kodus/jpeg.svg?branch=php8-update)](https://travis-ci.org/kodus/jpeg)
6+
![Build Status](https://github.com/kodus/jpeg/actions/workflows/test.yml/badge.svg)
77
[![PHP Version](https://img.shields.io/badge/php-8.0%2B-blue.svg)](https://packagist.org/packages/kodus/jpeg)
88
[![PHP Version](https://img.shields.io/badge/php-8.1%2B-blue.svg)](https://packagist.org/packages/kodus/jpeg)
99

0 commit comments

Comments
 (0)