Skip to content

test: remove redundant NIGHTLY run from CircleCI #446

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

Merged
merged 11 commits into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ jobs:
# Conda
"conda-3.7":
docker:
- image: continuumio/miniconda3
- image: mambaorg/micromamba
environment:
PYTHON: "3.7"
PANDAS: "0.24.2"
steps:
- checkout
- run: ci/config_auth.sh
- run: ci/run_conda.sh
"conda-3.9-NIGHTLY":
"conda-3.9":
docker:
- image: continuumio/miniconda3
- image: mambaorg/micromamba
environment:
PYTHON: "3.9"
PANDAS: "NIGHTLY"
PANDAS: "1.3.4"
steps:
- checkout
- run: ci/config_auth.sh
Expand All @@ -31,4 +31,4 @@ workflows:
build:
jobs:
- "conda-3.7"
- "conda-3.9-NIGHTLY"
- "conda-3.9"
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
codecov
coverage
db-dtypes
pydata-google-auth
fastavro
flake8
google-cloud-bigquery
google-cloud-bigquery-storage
numpy
pyarrow
pydata-google-auth
pytest
pytest-cov
codecov
coverage
flake8
tqdm
25 changes: 8 additions & 17 deletions ci/run_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,16 @@
set -e -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

# Install dependencies using Conda
eval "$(micromamba shell hook --shell=bash)"
micromamba activate

conda config --set always_yes yes --set changeps1 no
conda config --add channels pandas
conda config --add channels conda-forge
conda update -q conda
conda info -a
conda create -q -n test-environment python=$PYTHON
source activate test-environment
# Install dependencies using (micro)mamba
# https://github.com/mamba-org/micromamba-docker
REQ="ci/requirements-${PYTHON}-${PANDAS}"
conda install -q --file "$REQ.conda";

if [[ "$PANDAS" == "NIGHTLY" ]]; then
conda install -q numpy pytz python-dateutil;
PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com";
pip install --pre --upgrade --timeout=60 -f $PRE_WHEELS pandas;
else
conda install -q pandas=$PANDAS;
fi
micromamba install -q pandas=$PANDAS python=${PYTHON} -c conda-forge;
micromamba install -q --file "$REQ.conda" -c conda-forge;
micromamba list
micromamba info

python setup.py develop --no-deps

Expand Down