forked from georgia-tech-db/evadb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring in Circle CI (georgia-tech-db#141)
* Add .circleci/config.yml * Leave out the coverage report * allow sudo to carry user set env var * add pip missing packages * a working version build and test workflow * empty line * Just to trigger new build * integration with coveralls
- Loading branch information
Showing
4 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
build-and-test: | ||
machine: | ||
image: ubuntu-1604:202007-01 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Before Install | ||
command: | | ||
sh script/install/before_install.sh | ||
environment: | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
- run: | ||
name: Install | ||
command: | | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
sh script/install/install.sh | ||
# allow no-password connection for root | ||
sudo mysql -u root -e "SELECT User,Host FROM mysql.user; | ||
DROP USER 'root'@'localhost'; | ||
CREATE USER 'root'@'%' IDENTIFIED BY ''; | ||
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; | ||
FLUSH PRIVILEGES;" | ||
- run: | ||
name: Test | ||
command: | | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
conda init bash | ||
source ~/.bashrc | ||
conda activate eva | ||
sh script/test/test.sh | ||
coveralls | ||
workflows: | ||
main: | ||
jobs: | ||
- build-and-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
repo_token: oy7xYr3RiDFGCpsaMhfL2cqmh61XtaEKZ | ||
service_name: circle-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,7 @@ dependencies: | |
- antlr4-python3-runtime==4.8 | ||
- petastorm | ||
- pre-commit | ||
- flake8 | ||
- pytest | ||
- coveralls | ||
prefix: eva |