kyuubi/.github/workflows
Harry 9075fbb623
[KYUUBI #6281][PY] Initialize github action for python unit testing
# 🔍 Description
## Issue References 🔗

This pull request fixes #6281

## Describe Your Solution 🔧

The change initialize a CI job to run unit testing on python client, including:
- Set up Github Action based on docker-compose
- Update test cases and test succeeded for dialect `presto` and `trino`
- Temporary disabled hive related test due to test cases are not valid, not about connection
- Update dev dependencies to support python 3.10
- Speed up testing with `pytest-xdist` plugin

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️
Not able to ran unit test in local and on CI

#### Behavior With This Pull Request 🎉
Able to run and partially cover a couple of test cases

#### Related Unit Tests
No

## Additional notes
Next action is about fixing failing test cases or considering skipping some of them if necessary

---

# Checklist 📝

- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6343 from sudohainguyen/ci/init.

Closes #6281

682e575c4 [Harry] Remove xdist out of scope
dc42ca1ff [Harry] Pin pytest packages version
469f1d955 [Harry] Pin ubuntu version
00cef476a [Harry] Use v4 checkout action
96ef83148 [Harry] Remove unnecessary steps
732344a2c [Harry] Add step to tear down containers
1e2c2481a [Harry] Resolved trino and presto test
5b33e3924 [Harry] Make tests runnable
1be033ba3 [Harry] Remove randome flag which causes failed test run
2bc6dc036 [Harry] Switch action setup provider to docker
ea2a76319 [Harry] Initialize github action for python unit testing

Authored-by: Harry <quanghai.ng1512@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-05-07 18:05:03 +08:00
..
dep.yml [KYUUBI #5857] Dependencies CI check when dev/dependencyList changes 2023-12-15 14:49:52 +08:00
docs.yml
gluten.yml [KYUUBI #6178] Improve Gluten integration test 2024-03-13 13:57:55 +08:00
greetings.yml
labeler.yml [KYUUBI #5874] [INFRA] Bump github labeler action to v5 2023-12-19 11:38:05 +08:00
license.yml [KYUUBI #6091] Deprecate and remove building support for Spark 3.1 2024-03-04 20:23:06 +08:00
master.yml [KYUUBI #6363] [INFRA] Increase CI concurrency 2024-05-06 04:45:36 +00:00
nightly.yml [KYUUBI #6180][FOLLOWUP] Update the setup JDK name in nightly.yml 2024-04-09 19:38:03 +08:00
publish-snapshot-docker.yml [KYUUBI #6080] Improve instruction for deploy Kyuubi on K8s 2024-02-26 13:40:32 +08:00
publish-snapshot-nexus.yml [KYUUBI #6091] Deprecate and remove building support for Spark 3.1 2024-03-04 20:23:06 +08:00
python.yml [KYUUBI #6281][PY] Initialize github action for python unit testing 2024-05-07 18:05:03 +08:00
stale.yml [KYUUBI #5841] [BUILD] Bump actions/stale from v7 to v9 2023-12-09 23:31:58 +08:00
style.yml [KYUUBI #6170] Merge JDBC Trino TPC jobs and Style Check jobs in GitHub Actions workflow 2024-03-12 15:22:22 +08:00
web-ui.yml [KYUUBI #5842] [BUILD] Bump actions/setup-node from v3 to v4 2023-12-09 23:32:26 +08:00