diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml new file mode 100644 index 0000000..6ecfe76 --- /dev/null +++ b/.github/workflows/test-actions.yml @@ -0,0 +1,35 @@ +name: Naith + +on: + push: + pull_request: + +defaults: + run: + shell: bash + +permissions: + contents: read + +jobs: + + tests: + name: Tests + + strategy: + matrix: + tag: ['7.2', '7.3', '7.4'] + fail-fast: false + + runs-on: ubuntu-latest + container: + image: exozet/php-fpm:${{ matrix.tag }} + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Run tests + run: | + make install-dependencies + make test + cat junit.xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f7d000d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: php -matrix: - include: - - php: 7.2 - - php: 7.3 - - php: 7.4 - -before_script: "make install-dependencies" -script: "make test && cat junit.xml" diff --git a/README.md b/README.md index b4eb404..668cc3f 100644 --- a/README.md +++ b/README.md @@ -410,6 +410,8 @@ element, you can do this: ## Changelog +- 3.0.1 (2022/12/02) + - dropped Travis CI for GitHub Actions - 3.0.0 (2020/10/22) - moved `dracoblue/naith` as a dev dependency - dropped `phpoffice/phpexcel` for `phpoffice/phpspreadsheet` instead