phpunit11 annotations added to tests #383
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPUnit | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
LC_ALL: "en_US.UTF-8" | |
LANG: "en_US.UTF-8" | |
- name: Prepare Environment | |
run: | | |
sudo apt install lsb-release wget | |
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main backports" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list | |
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg | |
sudo apt-get update | |
sudo apt-get install -y composer exim4 | |
composer update | |
- name: Run tests | |
run: make phpunit |