Use openai compatible environment variables for configuration and allow configuration using more specific variables that do not interfere with the openai defaults #118
Workflow file for this run
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
name: Test Please CLI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
bats-tests: | |
name: BATS Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install BATS and dependencies from Ubuntu repositories | |
run: sudo apt-get update && sudo apt-get install -y bats | |
# - name: Upgrade BATS from github | |
# run: | | |
# git clone https://github.com/bats-core/bats-core.git | |
# git checkout git checkout v1.9.0 | |
# cd bats-core | |
# sudo ./install.sh /usr/local | |
- name: Run BATS Tests | |
run: bats --formatter pretty test |