Skip to content

Commit 05edeaf

Browse files
committed
Move to Github Actions
1 parent 07a94ba commit 05edeaf

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

.github/workflows/tests.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: tests
2+
3+
on: [push]
4+
5+
jobs:
6+
no_ext_tests:
7+
runs-on: ubuntu-20.04
8+
9+
strategy:
10+
fail-fast: true
11+
matrix:
12+
php: ['7.2','7.3','7.4','8.0']
13+
14+
steps:
15+
- name: Checkout codes
16+
uses: "actions/checkout@v2"
17+
18+
- name: Composer
19+
uses: php-actions/composer@v6
20+
with:
21+
php_version: ${{ matrix.php }}
22+
23+
- name: PHPUnit Tests
24+
uses: php-actions/phpunit@v3
25+
with:
26+
bootstrap: vendor/autoload.php
27+
configuration: tests/phpunit.xml
28+
version: 8.5
29+
php_version: ${{ matrix.php }}
30+

.travis.yml .travis-disable.yml

File renamed without changes.

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
12
The fundamental package for scientific matrix operation
23
=======================================================
3-
Master: [![Build Status](https://travis-ci.com/rindow/rindow-math-matrix.png?branch=master)](https://travis-ci.com/rindow/rindow-math-matrix)
4+
Status:
5+
[![Build Status](https://github.com/rindow/rindow-math-matrix/workflows/tests/badge.svg)](https://github.com/rindow/rindow-math-matrix/actions)
6+
[![Downloads](https://img.shields.io/packagist/dt/rindow/rindow-math-matrix)](https://packagist.org/packages/rindow/rindow-math-matrix)
7+
[![Latest Stable Version](https://img.shields.io/packagist/v/rindow/rindow-math-matrix)](https://packagist.org/packages/rindow/rindow-math-matrix)
8+
[![License](https://img.shields.io/packagist/l/rindow/rindow-math-matrix)](https://packagist.org/packages/rindow/rindow-math-matrix)
9+
10+
411

512
Rindow Math Matrix is the fundamental package for scientific matrix operation
613

src/MatrixOperator.php

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
use ArrayObject;
55
use InvalidArgumentException;
6+
use LogicException;
67
use Interop\Polite\Math\Matrix\BLAS;
78
use Interop\Polite\Math\Matrix\NDArray;
89
use Interop\Polite\Math\Matrix\OpenCL;

0 commit comments

Comments
 (0)