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

Allow k6 scenario to be defined within k6 test #1797

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Merge branch 'fix/k6-scenario-within-k6-test' of https://github.com/b…

3889e0f
Select commit
Loading
Failed to load commit list.
Open

Allow k6 scenario to be defined within k6 test #1797

Merge branch 'fix/k6-scenario-within-k6-test' of https://github.com/b…
3889e0f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 12, 2024 in 16m 30s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1797 Allow k6 scenario to be defined within k6 test.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in parallel.

Job Python Xcode ENV OS State
10564.1 3.7 DISPLAY=:99.0 Linux passed
10564.2 3.8 DISPLAY=:99.0 Linux passed
10564.3 3.9 DISPLAY=:99.0 Linux passed
10564.4 3.10 DISPLAY=:99.0 Linux passed
10564.5 Python 3 on macOS xcode12 DISPLAY=:99.0 macOS passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Python Versions 3.7, 3.8, 3.9, 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "cache": {
    "pip": true
  },
  "branches": {
    "only": [
      "master"
    ]
  },
  "python": [
    "3.7",
    "3.8",
    "3.9",
    "3.10"
  ],
  "env": [
    "global={:DISPLAY=>\":99.0\"}={:PIP_INSTALL=>\"\\\"pip install\\\"\"}={:PYTHON=>\"python\"}"
  ],
  "jobs": {
    "include": [
      {
        "os": "osx",
        "name": "Python 3 on macOS",
        "osx_image": "xcode12",
        "language": "shell",
        "env": [
          {
            "PYTHON": "python3"
          },
          {
            "PIP_INSTALL": "\"sudo pip3 install\""
          },
          {
            "RVM_KEY": "\"409B6B1796C275462A1703113804BB82D39DC0E3\""
          },
          {
            "OSX_EXCLUDE": "\"--exclude-test=tests.unit.modules._selenium.test_csharp\""
          }
        ]
      }
    ]
  },
  "addons": {
    "firefox": "latest",
    "chrome": "stable",
    "apt": {
      "packages": [
        "python-tk",
        "python3-tk"
      ]
    }
  },
  "install": [
    "if [ \"$TRAVIS_OS_NAME\" != \"linux\" ]; then\n  gpg --keyserver hkp://keys.gnupg.net --recv-keys $RVM_KEY && rvm get stable || echo \"rvm update fail\"\nfi\n",
    "gem install rspec",
    "$PIP_INSTALL --upgrade pip",
    "if [ \"$TRAVIS_OS_NAME\" = \"linux\" ] && [ \"$TRAVIS_PYTHON_VERSION\" = \"3.9\" ]; then $PIP_INSTALL Cython; fi",
    "$PIP_INSTALL -r requirements.txt -r tests/ci/requirements.txt"
  ],
  "before_script": [
    "if [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then nohup bash -c \"Xvfb :99 &\"; fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then sudo nohup bash -c \"xvfb :99 &\"; fi",
    "$PYTHON tests/resources/httpserver/start.py &",
    "SCRIPT_RUNNER=$PYTHON",
    "if [ \"$TRAVIS_OS_NAME\" = \"linux\" ] && [ \"$TRAVIS_PYTHON_VERSION\" = \"3.8\" ]; then CHECK_COV=true; fi",
    "if [ \"$CHECK_COV\" = true ]; then SCRIPT_RUNNER=\"coverage run --source=bzt\"; fi"
  ],
  "script": [
    "$SCRIPT_RUNNER -m nose2 -s tests/unit -v"
  ],
  "after_success": [
    "if [ \"$CHECK_COV\" = true ]; then coverage report -m && codecov; fi"
  ]
}