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

Move dependencies from requirements files into pyproject.toml, add extra groups for dev, docs #565

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Use pyproject for Travis

075f1f8
Select commit
Loading
Failed to load commit list.
Open

Move dependencies from requirements files into pyproject.toml, add extra groups for dev, docs #565

Use pyproject for Travis
075f1f8
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 15, 2024 in 2m 51s

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 #565 Move dependencies from requirements files into project metadata.
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 pip proj geos",
    "source activate icepyx-env",
    "pip install -e .[dev,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"
        ],
        "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"
        ]
      }
    ]
  }
}