Skip to content

WIP: All the CI in GitHub actions (DO NOT MERGE) #29715

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

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d127721
Adding db build to actions
datapythonista Nov 16, 2019
3c3f25d
Replacing with by env
datapythonista Nov 16, 2019
173b60a
Merge remote-tracking branch 'upstream/master' into db_build_to_actions
datapythonista Nov 17, 2019
f135254
Adding mysql service
datapythonista Nov 17, 2019
91ab51d
Fixing indentation
datapythonista Nov 17, 2019
e374623
Adding ports and healthchecks to db services
datapythonista Nov 17, 2019
54e1f3d
disabling mysql health checks
datapythonista Nov 17, 2019
f235e9b
using latest versions of dbs
datapythonista Nov 17, 2019
be4f827
Adding database creation
datapythonista Nov 17, 2019
2677a0e
Fixing how to provide an env variable to if
datapythonista Nov 17, 2019
211a426
Testing mysql
datapythonista Nov 17, 2019
525f3a3
More mysql tests
datapythonista Nov 18, 2019
b355d2f
Trying to create dbs
datapythonista Nov 18, 2019
75c9dcd
Working on making the databases work
datapythonista Nov 18, 2019
63df9a2
Merge remote-tracking branch 'upstream/master' into db_build_to_actions
datapythonista Nov 18, 2019
4ea0cd9
Adding jobs to existing build
datapythonista Nov 18, 2019
87b4197
Fixing typo in postgres call, better matrix
datapythonista Nov 18, 2019
267c6c3
Debugging matrix and grep problems
datapythonista Nov 18, 2019
e32bbd8
More debugging and trials
datapythonista Nov 18, 2019
f92bd8b
More debugging
datapythonista Nov 18, 2019
f20c3d0
More debugging
datapythonista Nov 18, 2019
3a80742
More debugging
datapythonista Nov 18, 2019
449865d
Copying exact configuration from rails blog
datapythonista Nov 18, 2019
6d830d0
Some more debugging
datapythonista Nov 18, 2019
02061c1
Rewriting the mysterious failing code in code_checks.sh
datapythonista Nov 18, 2019
89ed130
Another mysql test
datapythonista Nov 18, 2019
9540ff3
Getting closer to get mysql working
datapythonista Nov 18, 2019
b149ce8
Fixing password
datapythonista Nov 18, 2019
3beafd2
s/username/user
datapythonista Nov 18, 2019
71f8b40
Checking why password doesn't work
datapythonista Nov 18, 2019
5cd9dc6
This should fix the mysql database creation
datapythonista Nov 18, 2019
346e5c2
Fixing typo
datapythonista Nov 18, 2019
988ea6b
This should leave everything in place regarding dbs
datapythonista Nov 18, 2019
8370b44
Merge remote-tracking branch 'upstream/master' into db_build_to_actions
datapythonista Nov 18, 2019
a81fd0a
Adding all builds to actions
datapythonista Nov 18, 2019
c262653
Making progress on the finalize task
datapythonista Nov 18, 2019
c063c0d
Fixing Python code in yaml
datapythonista Nov 18, 2019
ee07631
Trying to remove colon to fix syntax error
datapythonista Nov 19, 2019
457635b
Removing Python code which was causing problems
datapythonista Nov 19, 2019
7482cd3
Fixing indentation
datapythonista Nov 19, 2019
f72c17c
Using different jobs for db tests and the rest, and setting conda pat…
datapythonista Nov 22, 2019
b3a52e7
Restoing env removed by mistake
datapythonista Nov 22, 2019
191e7d2
Merge remote-tracking branch 'upstream/master' into db_build_to_actions
datapythonista Nov 24, 2019
df925f7
Trying to set path after checkout
datapythonista Nov 24, 2019
8c86bab
First version using rclone, and debug information added
datapythonista Nov 24, 2019
9343ea6
Several fixes (locale, 32 bits, docs, db)
datapythonista Nov 24, 2019
b4970b3
Improvements to the docs job
datapythonista Nov 25, 2019
dc4d805
Couple more fixes (windows bash, ipython grep)
datapythonista Nov 25, 2019
d26d883
Merge remote-tracking branch 'upstream/master' into db_build_to_actions
datapythonista Nov 26, 2019
f0a4030
Trying to fix grep of ipython directive
datapythonista Nov 26, 2019
a202e94
bash command in quotes
datapythonista Nov 26, 2019
ca23a17
Trying more fixes for grep, downloading conda for windows, and small …
datapythonista Nov 26, 2019
0a3e792
Fixed typo detecting windows OS
datapythonista Nov 26, 2019
41dd0c7
Temporary fixing error in master
datapythonista Nov 26, 2019
b40501c
Quoting command, needed when starts with exclamation mark
datapythonista Nov 26, 2019
79bfd82
Fixing path of pr docs, adding clean up task
datapythonista Nov 27, 2019
134c651
Merging from master
datapythonista Dec 1, 2019
4647b0d
Removing changes to localization tests, addressed in a separate PR, a…
datapythonista Dec 1, 2019
76aca4b
Removing duplicated set-path
datapythonista Dec 1, 2019
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
Prev Previous commit
Next Next commit
Trying more fixes for grep, downloading conda for windows, and small …
…clean up
  • Loading branch information
datapythonista committed Nov 26, 2019
commit ca23a170e488d4f1ce2a8abedea9e4ccabb8a086
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
# This can be removed when the ipython directive fails when there are errors,
# including the `tee sphinx.log` in te previous step (https://github.com/ipython/ipython/issues/11547)
- name: Check ipython directive errors
run: "! grep -B1 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"
run: bash -c "! grep -B1 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"

- name: Merge website and docs
run: |
Expand Down
47 changes: 9 additions & 38 deletions ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@ fi
echo "Install Miniconda"
UNAME_OS=$(uname)
if [[ "$UNAME_OS" == 'Linux' ]]; then
if [[ "$BITS32" == "yes" ]]; then
CONDA_OS="Linux-x86"
else
CONDA_OS="Linux-x86_64"
fi
CONDA_OS="Linux"
elif [[ "$UNAME_OS" == 'Darwin' ]]; then
CONDA_OS="MacOSX-x86_64"
CONDA_OS="MacOSX"
elif [[ "${UNAME_OS:0:4}" == 'MINGW64' ]]; then
CONDA_OS="Windows"
else
echo "OS $UNAME_OS not supported"
exit 1
fi

CONDA_OS="${CONDA_OS}-x86"
if [[ "$BITS32" != "yes" ]]; then
CONDA_OS="${CONDA_OS}_64"
fi

wget -q "https://repo.continuum.io/miniconda/Miniconda3-latest-$CONDA_OS.sh" -O miniconda.sh
chmod +x miniconda.sh
./miniconda.sh -b
Expand All @@ -56,29 +59,6 @@ conda update -n base conda
echo "conda info -a"
conda info -a

echo
echo "set the compiler cache to work"
if [ -z "$NOCACHE" ] && [ "${TRAVIS_OS_NAME}" == "linux" ]; then
echo "Using ccache"
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
GCC=$(which gcc)
echo "gcc: $GCC"
CCACHE=$(which ccache)
echo "ccache: $CCACHE"
export CC='ccache gcc'
elif [ -z "$NOCACHE" ] && [ "${TRAVIS_OS_NAME}" == "osx" ]; then
echo "Install ccache"
brew install ccache > /dev/null 2>&1
echo "Using ccache"
export PATH=/usr/local/opt/ccache/libexec:$PATH
gcc=$(which gcc)
echo "gcc: $gcc"
CCACHE=$(which ccache)
echo "ccache: $CCACHE"
else
echo "Not using ccache"
fi

echo "source deactivate"
source deactivate

Expand Down Expand Up @@ -139,13 +119,4 @@ echo
echo "conda list"
conda list

# Install DB for Linux
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
echo "installing dbs"
mysql -e 'create database pandas_nosetest;'
psql -c 'create database pandas_nosetest;' -U postgres
else
echo "not using dbs on non-linux Travis builds or Azure Pipelines"
fi

echo "done"