update used branch #35
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: OpenMage LTS - Unit Tests | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: php & Composer version | |
run: php --version && composer --version | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --ignore-platform-reqs | |
- name: Checkout OpenMage repo | |
uses: actions/checkout@v2 | |
with: | |
repository: OpenMage/magento-lts | |
path: openmage | |
ref: main | |
- name: Install OpenMage dependencies | |
working-directory: ./openmage | |
run: composer install --prefer-dist --no-progress --ignore-platform-reqs | |
- name: run phpUnit | |
run: bash ./run_unit_tests.sh | |
- name: Publish Unit Test Results | |
uses: EnricoMi/[email protected] | |
if: always() | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
files: output/*.xml |