Skip to content

Commit 2bce1a9

Browse files
committed
workflow refactors - kamangir/bolt#746 - no-workflow πŸͺ„
1 parent 3104aad commit 2bce1a9

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

β€Ž.github/workflows/bashtest.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: [push]
55
jobs:
66
bashtest:
77
runs-on: ubuntu-latest
8+
if: "! contains(github.event.head_commit.message, 'no-workflow')"
89
steps:
910
- uses: actions/checkout@v3
1011
- name: Set up Python 3.10
@@ -27,13 +28,13 @@ jobs:
2728
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
2829
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2930
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
30-
ABCLI_AWS_RDS_HOST: ${{ secrets.ABCLI_AWS_RDS_HOST }}
31-
ABCLI_AWS_RDS_PASSWORD: ${{ secrets.ABCLI_AWS_RDS_PASSWORD }}
31+
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
32+
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
3233
run: |
3334
echo "OPENAI_API_KEY: $OPENAI_API_KEY"
3435
echo "AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID"
3536
echo "AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY"
36-
echo "ABCLI_AWS_RDS_HOST: $ABCLI_AWS_RDS_HOST"
37-
echo "ABCLI_AWS_RDS_PASSWORD: $ABCLI_AWS_RDS_PASSWORD"
37+
echo "DATABRICKS_HOST: $DATABRICKS_HOST"
38+
echo "DATABRICKS_TOKEN: $DATABRICKS_TOKEN"
3839
3940
./.github/workflows/bashtest.sh openai_commands

β€Ž.github/workflows/pylint.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: pylint
33
on: [push]
44

55
jobs:
6-
build:
6+
pylint:
77
runs-on: ubuntu-latest
8+
if: "! contains(github.event.head_commit.message, 'no-workflow')"
89
strategy:
910
matrix:
10-
python-version: ["3.8", "3.9", "3.10"]
11+
python-version: ["3.10"]
1112
steps:
1213
- uses: actions/checkout@v3
1314
- name: Set up Python ${{ matrix.python-version }}

β€Ž.github/workflows/pytest.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: pytest
33
on: [push]
44

55
jobs:
6-
build:
6+
pytest:
77
runs-on: ubuntu-latest
8+
if: "! contains(github.event.head_commit.message, 'no-workflow')"
89
strategy:
910
matrix:
10-
python-version: ["3.8", "3.9", "3.10"]
11+
python-version: ["3.10"]
1112
steps:
1213
- uses: actions/checkout@v3
1314
- name: Set up Python ${{ matrix.python-version }}
@@ -30,16 +31,12 @@ jobs:
3031
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
3132
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
3233
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
33-
ABCLI_AWS_RDS_HOST: ${{ secrets.ABCLI_AWS_RDS_HOST }}
34-
ABCLI_AWS_RDS_PASSWORD: ${{ secrets.ABCLI_AWS_RDS_PASSWORD }}
3534
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
3635
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
3736
run: |
3837
echo "OPENAI_API_KEY: $OPENAI_API_KEY"
3938
echo "AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID"
4039
echo "AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY"
41-
echo "ABCLI_AWS_RDS_HOST: $ABCLI_AWS_RDS_HOST"
42-
echo "ABCLI_AWS_RDS_PASSWORD: $ABCLI_AWS_RDS_PASSWORD"
4340
echo "DATABRICKS_HOST: $DATABRICKS_HOST"
4441
echo "DATABRICKS_TOKEN: $DATABRICKS_TOKEN"
4542
pytest

β€ŽREADME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ pip install openai-commands
1919

2020
[![pylint](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/openai-commands.svg)](https://pypi.org/project/openai-commands/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/openai-commands)](https://pypistats.org/packages/openai-commands)
2121

22-
built by πŸŒ€ [`blue_options-4.200.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.193.1`](https://github.com/kamangir/openai-commands).
22+
built by πŸŒ€ [`blue_options-4.200.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.194.1`](https://github.com/kamangir/openai-commands).

β€Žopenai_commands/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
DESCRIPTION = f"{ICON} a command interface to the OpenAI API."
66

7-
VERSION = "3.193.1"
7+
VERSION = "3.194.1"
88

99
REPO_NAME = "openai-commands"
1010

β€Žopenai_commands/literature_review/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ literature review at scale on [AWS Batch](https://aws.amazon.com/batch/) through
4949
| | |
5050
| --- | --- |
5151
| [aws_batch](https://github.com/kamangir/notebooks-and-scripts/tree/main/blueflow/workflow/runners/aws_batch.py) | [local](https://github.com/kamangir/notebooks-and-scripts/tree/main/blueflow/workflow/runners/local.py) |
52-
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=vtwhgva862d0gf1c)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=vtwhgva862d0gf1c) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=d552gwt6c535tmb5)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=d552gwt6c535tmb5) |
52+
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=isndn1b276lymtsk)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=isndn1b276lymtsk) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=oboptfsw87nn7gwe)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=oboptfsw87nn7gwe) |
5353

5454
---
5555

0 commit comments

Comments
Β (0)