Skip to content

Commit

Permalink
Moved from Travis CI to GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
SidRoberts committed Aug 18, 2023
1 parent c759c4f commit b2fa1ea
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 23 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: tests

on: push

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: yaml
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run Codeception tests
run: vendor/bin/codecept run
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A framework agnostic Cron manager.



[![Build Status](https://img.shields.io/travis/SidRoberts/cron/2.0.x.svg?style=for-the-badge)](https://travis-ci.org/SidRoberts/cron)
[![Code Build Status](https://img.shields.io/github/actions/workflow/status/SidRoberts/cron/tests.yml?style=for-the-badge)](https://github.com/SidRoberts/cron/actions)
[![GitHub release](https://img.shields.io/github/release/SidRoberts/cron.svg?style=for-the-badge)]()

[![GitHub issues](https://img.shields.io/github/issues-raw/SidRoberts/cron.svg?style=for-the-badge)](https://github.com/SidRoberts/cron/issues)
Expand Down

0 comments on commit b2fa1ea

Please sign in to comment.