Rename date time tests and move tests #125
Workflow file for this run
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: CI | |
on: push | |
jobs: | |
test-8-1: | |
name: "Tests on PHP 8.1" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
cp .github/workflows/.env .env | |
make install-8.1 | |
- name: Run PHP tests | |
run: make php-8.1-tests-ci | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODE_COV_TOKEN }} | |
files: ./coverage.xml | |
verbose: true | |
test-8-2: | |
name: "Tests on PHP 8.2" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
cp .github/workflows/.env .env | |
make install-8.2 | |
- name: Run PHP tests | |
run: make php-8.2-tests-ci | |
mutation-testing: | |
name: "Mutation tests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
cp .github/workflows/.env .env | |
make install-8.1 | |
- name: Run mutation testing | |
run: make php-mutation-testing-ci | |
code-validation: | |
name: "Code validation" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
cp .github/workflows/.env .env | |
make install | |
- name: Run code validation | |
run: make php-code-validation |