Skip to content

test: debug

test: debug #193

Workflow file for this run

name: Continuous integration
on:
push:
jobs:
# lint:
# name: Lint code
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# persist-credentials: false
# - name: Install taskfile.dev
# uses: arduino/setup-task@v2
# with:
# version: 3.x
# repo-token: ${{ github.token }}
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# tools: composer:v2
# - name: Validate composer.json and composer.lock
# run: composer validate
# - name: Lint
# run: task lint
test:
name: Run tests
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install taskfile.dev
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ github.token }}
- name: Set ReportPortal configuration
if: (github.ref_name == 'main' || github.ref_name == 'develop' || github.ref.name == 'devx/dex-942-send-alma-magento2-phpunit-tests-to-reportportal') && vars.REPORT_PORTAL_ENABLED == 'true'
run: ./Test/reportportal/reportportal_conf.sh
env:
REPORT_PORTAL_API_KEY: ${{ secrets.REPORT_PORTAL_API_KEY }}
REPORT_PORTAL_ENDPOINT: ${{ vars.REPORT_PORTAL_ENDPOINT }}
- name: Run PHPUnit tests with coverage
run: |
echo ${{ github.ref_name }}
echo ${{ vars.REPORT_PORTAL_ENABLED }}
task test