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

update github actions and add black linter for PRs #475

Merged
merged 45 commits into from
Jan 4, 2024

add more tests to ignore

6e74f0d
Select commit
Loading
Failed to load commit list.
Merged

update github actions and add black linter for PRs #475

add more tests to ignore
6e74f0d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 4, 2024 in 3m 27s

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 #475 update pypi action to use OIDC trusted publisher mgmt.
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"
        ],
        "after_success": [
          "codecov/codecov-action@v3"
        ]
      },
      {
        "stage": "behind Earthdata",
        "script": [
          "export EARTHDATA_PASSWORD=$NSIDC_LOGIN",
          "pytest icepyx/tests/test_behind_NSIDC_API_login.py"
        ]
      }
    ]
  }
}