Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deduct_source_item_quantity_on_refund event observer #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Update how the stock deduction logic is disabled when creating a cred…

1dddec1
Select commit
Loading
Failed to load commit list.
Open

Fix deduct_source_item_quantity_on_refund event observer #141

Update how the stock deduction logic is disabled when creating a cred…
1dddec1
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Nov 5, 2024 in 19m 11s

Build Errored

The build errored, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #141 Fix deduct_source_item_quantity_on_refund event observer.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has 12 jobs, running in parallel.

Job PHP ENV OS State Notes
854.1 8.1 TEST_GROUP=2-4-0 Linux passed
854.2 8.1 TEST_GROUP=2-4-1 Linux passed
854.3 8.1 TEST_GROUP=2-4-2 Linux passed
854.4 8.1 TEST_GROUP=2-4-3 Linux passed
854.5 8.1 TEST_GROUP=2-4-4 Linux errored
854.6 8.1 TEST_GROUP=2-4-5 Linux passed
854.7 8.1 TEST_GROUP=2-4-6 Linux passed
854.8 8.1 TEST_GROUP=2-4-6-p1 Linux passed
854.9 8.1 TEST_GROUP=2-4-6-p2 Linux passed
854.10 8.1 TEST_GROUP=2-4-6-p3 Linux passed
854.11 8.1 TEST_GROUP=2-3-7 Linux errored This job is allowed to fail.
854.12 8.1 TEST_GROUP=2-3-7-p4 Linux errored This job is allowed to fail.

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Xenial)
PHP Version 8.1
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "php": [
    "8.1"
  ],
  "env": [
    "jobs={:TEST_GROUP=>\"2-3-7\"}={:TEST_GROUP=>\"2-3-7-p4\"}={:TEST_GROUP=>\"2-4-0\"}={:TEST_GROUP=>\"2-4-1\"}={:TEST_GROUP=>\"2-4-2\"}={:TEST_GROUP=>\"2-4-3\"}={:TEST_GROUP=>\"2-4-4\"}={:TEST_GROUP=>\"2-4-5\"}={:TEST_GROUP=>\"2-4-6\"}={:TEST_GROUP=>\"2-4-6-p1\"}={:TEST_GROUP=>\"2-4-6-p2\"}={:TEST_GROUP=>\"2-4-6-p3\"}"
  ],
  "jobs": {
    "allow_failures": [
      {
        "env": [
          {
            "TEST_GROUP": "2-3-7-p4"
          }
        ]
      },
      {
        "env": [
          {
            "TEST_GROUP": "2-3-7"
          }
        ]
      }
    ]
  },
  "before_install": [
    "travis_retry wget https://github.com/docker/compose/releases/download/v2.17.0/docker-compose-linux-x86_64",
    "sudo mv docker-compose-linux-x86_64 /usr/libexec/docker/cli-plugins/docker-compose",
    "sudo chmod +x /usr/libexec/docker/cli-plugins/docker-compose",
    "docker --version && docker compose version"
  ],
  "install": [
    "composer install --no-interaction",
    "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run --rules=@PSR2 --diff src/",
    "vendor/bin/phpcs -s --standard=./ruleset.xml src/",
    "chmod 606 src/etc/db_schema_whitelist.json",
    "TEST_GROUP=$TEST_GROUP composer docker-install-magento",
    "fileschanged=$(git ls-files -m -d | wc -l); if [[ ! \"$fileschanged\" -eq \"0\" ]]; then echo \"Do you need to update the db_schema_whitelist.json file?\" && git status  && git --no-pager diff && sleep 5 && exit 1; fi"
  ],
  "script": [
    "composer docker-configure-magento",
    "composer docker-run-codeception",
    "composer docker-run-unit-tests",
    "composer docker-run-integration-tests"
  ],
  "cache": {
    "directories": [
      "$HOME/.composer/cache",
      "$HOME/bin"
    ]
  },
  "after_failure": [
    "vendor/bin/mtest 'for r in /var/www/html/var/report/*; do cat $r; done'",
    "vendor/bin/mtest 'cat /var/www/html/var/log/*.log'",
    "docker ps",
    "sleep 10;"
  ]
}