Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Sean Leonard 1060aef964
Update CRAN repo to latest, fix one test using removed CRAN packages, ignore another (#113)
* sql server install, airlines DB restore

* update commands remove CU

* change ci.yaml to run workflow in GHA

* add R installation for MLS

* add airline db users and permissions

* typo

* use correct DB

* typo

* typo

* revert ci.yaml move to SQL2022.yml

* just R for this PR

* name from 19 to 22

* fix cran link

* update package assertive.base to abc.data to fulfill test requirements of having special character in name and no/minimal dependencies. Assertive.base is no longer on cran.

* remove yaml as unrelated to pr. add newline per github warning
2024-06-27 13:17:59 -07:00
Sean Leonard 47c480fd3d
Dev/seleonar/r packagename parsing (#107)
* Fix filepath parsing and break large function into smaller chunks for easier testing and readability

* add unit tests for file parsing function and file existence function

* Add return statement so package list is populated
2022-12-13 08:40:30 -08:00
Sean Leonard b888ff1e87
Migrate Pipeline to Self-Hosted Runners and Remediate Tests (#104)
* GH runner pool support
with fixed tests.

* skip slow python test
remove legacy TravisCI skip tags.

* Fix R coercion to logical 1 error

* add sql MI

* update spacing.

* reduce code duplication and remove erroneous space
that caused issues

* remove conditional

* consolidate code and add conditional

* remove continue on error.

* Concise step title.

* fix R version
2022-08-29 11:32:21 -07:00
Sean Leonard 054c248f7c
Fix R Unit Tests and Invalid Cursor State Occurrences (#100)
* Fix code causing 'length(x) = 5 > 1' in coercion to 'logical(1)' warning.

* fix failing func execute in sql test due to differing environments

* add unittest for getServerVersion to detect bad cursor error on odbc

* add new R 4.2 to test workflow.

* adjust comment text and variable name

* Fix for spees generation codepath triggering cursor state invalid error

* Fix warning  longer object length is not a multiple of shorter object length

* support for special characters in connection string password

* updated version number of R package to 1.2.1 in DESCRIPTION

* update CRAN snapshot reference

Co-authored-by: Sean Leonard <seleonar@microsoft.com>
2022-07-11 09:24:18 -07:00
Sean Leonard 27612c6df1
Improve R Package Dependency Resolution and Script Execution Time (#99)
* When resolving dependencies, consolidation of duplicates keeps binary pkgs. Dependency Calculation doesn't fetch linkingTo packages for binary pkgs.

* Comment style for function now consistent. Updated comment phrasing

* Removed hardcoded cran repo check and add proper data.frame row count check. Added tests for LinkingTo package inclusion for binary vs source.

* Spacing consistency with connectionString argument

* Adjust test for purpose of checking source package installed due to successful compilation from source
2022-03-21 11:08:49 -07:00
Sean Leonard f27e8f1495
Update Pipeline Config and Fix Unit Test Execution in GitHub Actions (#97)
* Update pipeline with latest r-lib actions.

* Update readme to include build status GHA

* force upated testthat package to >= 2.0.1

* remove snapshot reference.

* new cache

* Fix cause of Invalid Cursor State

* Add fix for failing tests in CI

* Remove commented code in ci yaml
2022-02-25 12:18:10 -08:00
Jarupat Jisarojito 35a33ef82c
Migrate CI to github actions (#94)
* Migrate CI to github actions

Migrate to github actions because Travis CI is not supported and
recommended by Microsoft github organization anymore.

Fix some python tests
test_dependency_spec
change package from "azure_cli_telemetry" to "beautifulsoup4"
because even when we uninsatll azure_cli_telemetry, azure module is
still
available from other package.

test_installing_popular_ml_packages
Update the package and use correct module name for the package.
Previous code will use packagename with version number as a module. This
caused test failure.

Signed-off-by: Jarupat Jisarojito <guitarnana@gmail.com>

* Add github workflow file.
2021-11-03 15:42:40 -07:00
Mario S d0812a2c35
Update sqlPackage.R (#87)
* Update sqlPackage.R

sqlRemoteExecuteFun needs languageName to work

* Update sqlPackage.R

removed comment
2021-06-21 15:08:10 -07:00
Jonathan Zhu d154f6a6f2
Fix tests and remove binaries (#86)
* Fix tests and remove binaries

* add R files
2021-03-15 20:32:30 -07:00
Jonathan Zhu c6ff0841aa
Add external language support (#82)
Add external language support - users can add a language_name to run on an already installed external language.
2020-10-27 13:56:37 -07:00
Jonathan Zhu 682873d2e8
Jonathan zhu11/source (#80)
* update dist files
2020-08-20 17:45:40 -07:00
Jonathan Zhu 57d7527e6a
Jonathan zhu11/source (#77)
* Build source packages on the client, if the server matches (windows or unix)

* update version number
2020-08-20 15:20:48 -07:00
Jonathan Zhu b0d8c1b456
Add back in old zips for ADS purposes, to remove later (#73) 2020-07-15 20:28:45 -07:00
Jonathan Zhu 8eb6408e9b
Add check login test (#71)
* Add check login test
* Update packages
2020-07-13 11:32:01 -07:00
Jonathan Zhu 6a343b69ec
Jonathan zhu11/odbc testing (#70)
* Change all sql package calls to use odbc instead of RODBC

* style fixes

* remove references to RODBC

* comment and whitespace changes

* Add timeout to 60 minutes in Travis-CI
2020-07-09 10:08:43 -07:00
Jonathan Zhu 50e09d93a3
Fix check for managed instance and update version number (#69) 2020-06-15 11:50:49 -07:00
Jonathan Zhu 4a082eafdf
Modify READMEs for R installation (#63)
* Update repo from which RODBCext is found

* Add tar.gz for linux

* fix READMEs for RODBCext

* remove titling

* add extra space
2020-04-07 11:34:37 -07:00
Jonathan Zhu d5f8f80d69
Update repo from which RODBCext is found and add tar.gz (#62)
* Update repo from which RODBCext is found

* Add tar.gz for linux
2020-04-07 11:19:27 -07:00
Jonathan Zhu 07cb8a335d
Jonathan zhu11/readme (#57)
* Update README to be more concise and accurate

* Added an extra line in top level README to direct users to language-specific READMEs
2020-02-03 14:16:29 -08:00
Jonathan Zhu e4a99adda1 add note for sql 17 2019-08-29 11:59:53 -07:00
Jonathan Zhu 8d659b8938 remove old package 2019-06-10 10:51:59 -07:00
Jonathan Zhu 435a51d0f7 fix default for executeSproc getScript 2019-06-07 16:59:04 -07:00
Jonathan Zhu 34aa8a21cd fixes for tests 2019-06-07 16:37:38 -07:00
Jonathan Zhu 7138167e1f update version 2019-06-07 15:47:56 -07:00
Jonathan Zhu 18360d0f9c change name of test environment 2019-06-07 15:39:43 -07:00
Jonathan Zhu adc89c2f53 Fix devtools check errors and global variables 2019-06-07 15:37:07 -07:00
Jonathan Zhu 0b43914598 add script for package management 2019-06-06 16:38:32 -07:00
Jonathan Zhu 6cb3d6273b remove older version pkg 2019-06-06 11:33:46 -07:00
Jonathan Zhu 463e71d0bd update Rd files 2019-06-06 10:53:37 -07:00
Jonathan Zhu 3a571aa1ac update to 0.7.0 2019-06-06 10:52:38 -07:00
Jonathan Zhu d63c1fb166 update R to have getScript 2019-06-06 10:49:10 -07:00
Jonathan Zhu 789d4f60c4 Update R version with Linux support 2019-05-22 12:51:40 -07:00
Jonathan Zhu a27e5c2e93
Update Travis CI Ubuntu version and enable Linux in R package management (#35)
* Update Travis CI Ubuntu version and enable Linux in R package management

* Update README connection info for linux

* Add a few missed connectionInfo
2019-04-22 17:58:44 -07:00
Jonathan Zhu 9b9ba866bc
update zip version (#31) 2019-04-02 15:27:00 -07:00
Santina Lin 0be53078b6 Add a check to dependency packages to install (#30)
* Add a check to dependency packages to install

* Fix test

* Remove unused parameter

* Fix connection string

* Fix expected output
2019-03-15 14:17:22 -07:00
Jonathan Zhu c2b3b57874
README improvements (#27)
* README improvements

* extra README additions for confusion help
2019-03-11 10:54:52 -07:00
Jonathan Zhu f642ffbd17
Update install local file
Add information about installing from a local file path
2019-02-06 15:30:02 -08:00
Jonathan Zhu d3e7c94331
downgrade bak SQL version and add Airline test users (#15)
* downgrade bak SQL version and add Airline test users

* fix some messages and README

* update sqlmlutils zip

* reenable toplevel tests
2019-01-31 11:52:19 -08:00
Jonathan Zhu fd69f50991
Update READMEs to indicate compatibility with Azure SQL Database and fix some unit tests (#16)
* fix README to mention Azure SQL DB
* fix some unit tests and disable toplevel for now
2019-01-28 11:14:40 -08:00
Jonathan Zhu 19e91e1dc7
Split tests into multiple testthat files (#11)
* test filtering in test_check

* change to multiple testthat files
2018-11-06 12:36:55 -08:00
Erik Gubitz 90a019a936 break up tests into shorter units to avoid travis timeout 2018-11-01 16:05:16 -07:00
Erik Gubitz d45eb702a4 update DB users for AirlineTestDB 2018-11-01 13:51:14 -07:00
Erik Gubitz 201661e90b update DB users for AirlineTestDB 2018-11-01 12:40:19 -07:00
Erik Gubitz 1f411aae72 Merge branch 'master' into erikms/master/test 2018-10-31 15:07:17 -07:00
Erik Gubitz b4201035f7 replace subset calls with [] to avoid CRAN warnings 2018-10-31 14:29:11 -07:00
Erik Gubitz 995c19245d fix connection string 2018-10-31 14:12:00 -07:00
Erik Gubitz 1006ea9ba7 replace subset calls with [] to avoid CRAN warnings 2018-10-31 11:26:36 -07:00
Erik Gubitz 013b01d688 set cran mirror 2018-10-31 10:35:24 -07:00
Erik Gubitz 7f25ffedf0 set cran mirror 2018-10-30 15:53:26 -07:00
Erik Gubitz 05f0cdf981 read option TestArgs 2018-10-30 10:49:47 -07:00