Skip to content

Commit

Permalink
Merge pull request #72 from nayzo/fix-tests
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
nayzo authored Jan 5, 2024
2 parents d0d08e9 + 51b94b5 commit 2e58724
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 29 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: tests

on:
pull_request: ~
push:
branches:
- master

jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "7.1.3"
- "7.2"
- "7.4"
- "8.0"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
steps:
- name: Checkout
uses: actions/checkout@v3

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

- name: Install dependencies
run: composer install

- name: Run PHPUnit tests
run: |
./vendor/bin/phpunit
28 changes: 0 additions & 28 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
@@ -1,7 +1,7 @@
NzoUrlEncryptorBundle
=====================

[![Build Status](https://travis-ci.org/nayzo/NzoUrlEncryptorBundle.svg?branch=master)](https://travis-ci.org/nayzo/NzoUrlEncryptorBundle)
[![tests](https://github.com/nayzo/NzoUrlEncryptorBundle/actions/workflows/tests.yaml/badge.svg)](https://github.com/nayzo/NzoUrlEncryptorBundle/actions/workflows/tests.yaml)
[![Total Downloads](https://poser.pugx.org/nzo/url-encryptor-bundle/downloads)](https://packagist.org/packages/nzo/url-encryptor-bundle)
[![Latest Stable Version](https://poser.pugx.org/nzo/url-encryptor-bundle/v/stable)](https://packagist.org/packages/nzo/url-encryptor-bundle)

Expand Down

0 comments on commit 2e58724

Please sign in to comment.