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

[WIP] v2: Migrate ECS back-end to Harmony, drop Python <=3.9, & other breaking changes #544

Closed
wants to merge 1 commit into from

Enable some CI on v2 branch (revert me)

817175b
Select commit
Loading
Failed to load commit list.
Closed

[WIP] v2: Migrate ECS back-end to Harmony, drop Python <=3.9, & other breaking changes #544

Enable some CI on v2 branch (revert me)
817175b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 23, 2024 in 3m 0s

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 #544 v2.
Any changes that have been made to the development 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 (Xenial)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "before_install": [
    "sudo apt-get update",
    "wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh",
    "bash miniconda.sh -b -p $HOME/miniconda",
    "export PATH=\"$HOME/miniconda/bin:$PATH\"",
    "hash -r",
    "conda config --set always_yes yes --set changeps1 no",
    "conda update -q conda",
    "conda info -a"
  ],
  "install": [
    "conda create --name icepyx-env --channel conda-forge python=3.10 proj geos",
    "source activate icepyx-env",
    "pip install -r requirements.txt -r requirements-dev.txt",
    "pip install -e .[complete]"
  ],
  "stages": [
    {
      "name": "basic tests",
      "if": "(type = pull_request) OR (type = push AND repo = icesat2py/icepyx AND branch IN (main, development))"
    },
    {
      "name": "behind Earthdata",
      "if": "branch = main OR commit_message =~ nsidc_tests OR type = cron"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "basic tests",
        "script": [
          "pytest icepyx/ --verbose --cov app --ignore=icepyx/tests/test_behind_NSIDC_API_login.py --ignore=icepyx/tests/test_auth.py"
        ],
        "after_success": [
          "curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import",
          "curl -Os https://uploader.codecov.io/latest/linux/codecov",
          "curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM",
          "curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig",
          "gpgv codecov.SHA256SUM.sig codecov.SHA256SUM",
          "shasum -a 256 -c codecov.SHA256SUM",
          "chmod +x codecov",
          "./codecov -t ${CODECOV_TOKEN}"
        ]
      },
      {
        "stage": "behind Earthdata",
        "script": [
          "export EARTHDATA_PASSWORD=$NSIDC_LOGIN",
          "pytest icepyx/tests/test_behind_NSIDC_API_login.py icepyx/tests/test_auth.py"
        ]
      }
    ]
  }
}