Skip to content

Update CHANGELOG.md #27

Update CHANGELOG.md

Update CHANGELOG.md #27

Workflow file for this run

name: PHPUnit Tests
on:
- push
env:
IMAGE_NAME: bitcoin-bolt11
jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 7.4, 8.0, 8.1, 8.2, 8.3 ]
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Run tests on PHP ${{ matrix.php-version }}
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
docker build . --file Dockerfile --build-arg PHP_VERSION=${{ matrix.php-version }} -t $IMAGE_NAME:$VERSION-${{ matrix.php-version }}
docker run --rm $IMAGE_NAME:$VERSION-${{ matrix.php-version }} vendor/bin/phpunit --testdox