https://github.com/stackql/stackql-provider-tests
Test suite for stackql providers
https://github.com/stackql/stackql-provider-tests
Last synced: 8 months ago
JSON representation
Test suite for stackql providers
- Host: GitHub
- URL: https://github.com/stackql/stackql-provider-tests
- Owner: stackql
- Created: 2022-12-16T04:09:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T03:22:22.000Z (over 1 year ago)
- Last Synced: 2024-06-11T04:36:34.100Z (over 1 year ago)
- Language: Python
- Size: 39.1 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StackQL Provider Tests
This repository contains a set of tests for StackQL providers. It is intended to be used by GitHub actions in the [stackql-provider-registry](https://github.com/stackql/stackql-provider-registry).
## Usage
```bash
test-provider.sh [ ]
```
- `provider_name` - the name of the provider to test
- `signed` - whether the provider is signed or not (default: false)
- `provider_path` - the path to the provider (default: .)
- `show_columns` - whether to show columns in output (default: false)
- `test_for_anonymous_cols` - whether to test for anonymous columns (default: false)
## Example
```bash
# test a local sumologic unsigned provider from the current directory
sh test-provider.sh \
sumologic
false
```
```bash
# test a local aws signed provider from another directory
sh test-provider.sh \
aws \
true \
/mnt/c/Users/javen/Documents/LocalGitRepos/stackql/local-registry
```
```bash
# test a local google unsigned provider from another directory showing columns
sh test-provider.sh \
google \
false \
/mnt/c/Users/javen/Documents/LocalGitRepos/stackql/local-registry \
true
```
```bash
# test a local azure unsigned provider from the current directory showing columns
sh test-provider.sh \
azure \
false \
. \
true
```