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

DEV-11821: sam subaward tables #2701

Open
wants to merge 4 commits into
base: qat
Choose a base branch
from

Fixing migrations/table

23dea1d
Select commit
Loading
Failed to load commit list.
Open

DEV-11821: sam subaward tables #2701

Fixing migrations/table
23dea1d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 31, 2025 in 13m 55s

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 #2701 DEV-11821: sam subaward tables.
Any changes that have been made to the qat branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Bionic)
Python Version 3.12
Build Configuration
{
  "os": "linux",
  "dist": "bionic",
  "language": "python",
  "python": [
    "3.12"
  ],
  "before_install": [
    "pip install setuptools==68.1.2"
  ],
  "before_script": [
    "curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter",
    "chmod +x ./cc-test-reporter",
    "./cc-test-reporter before-build",
    "cp dataactcore/config_example.yml dataactcore/config.yml",
    "cp dataactcore/local_config_example.yml dataactcore/local_config.yml",
    "cp dataactcore/local_secrets_example.yml dataactcore/local_secrets.yml",
    "mkdir ${ERROR_REPORT_PATH}",
    "sed -i.bak -E \"s/host:.*$/host: ${BROKER_DB_HOST}/\" dataactcore/local_config.yml",
    "sed -i.bak -E \"s/port:.*$/port: ${BROKER_DB_PORT}/\" dataactcore/local_config.yml",
    "sed -i.bak -E \"s/error_report_path:.*$/error_report_path: ${ERROR_REPORT_PATH_ESCAPED}/\" dataactcore/local_config.yml",
    "docker-compose up -d --quiet-pull dataact-broker-db dataact-broker-init-db"
  ],
  "script": [
    "flake8",
    "pytest tests/unit --cov=. --cov-report xml:tests/coverage.xml --junitxml=tests/test-results.xml",
    "pytest tests/integration --cov=. --cov-append --cov-report term --cov-report xml:tests/coverage.xml --junitxml=tests/test-results.xml"
  ],
  "after_script": [
    "docker-compose down",
    "rm -r ${ERROR_REPORT_PATH}",
    "mv tests/coverage.xml coverage.xml",
    "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
  ],
  "global_env": [
    "BROKER_DB_HOST=localhost",
    "BROKER_DB_PORT=5435",
    "ERROR_REPORT_PATH=\"dataactcore/tmp/\"",
    "ERROR_REPORT_PATH_ESCAPED=\"dataactcore\\/tmp\\/\""
  ],
  "group": "stable"
}