Skip to content

Commit

Permalink
Test:to be reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr committed Jul 19, 2023
1 parent 6f914d6 commit 42c0d0a
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 41 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Nightly Builds
on:
schedule:
# Runs every weekday at 1am
- cron: 0 1 * * 1-5
workflow_dispatch:

pull_request:
# schedule:
# # Runs every weekday at 1am
# - cron: 0 1 * * 1-5
# workflow_dispatch:
env:
DEFAULT_PYTHON_VERSION: "3.10"

jobs:
run_script_and_tag_nightly_release:
Expand Down Expand Up @@ -34,14 +36,33 @@ jobs:
with:
poetry-version: ${{ env.POETRY_VERSION }}

- name: Load Poetry Cached Libraries ⬇
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: .venv
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
restore-keys: ${{ runner.os }}-poetry-${{ env.DEFAULT_PYTHON_VERSION }}

- name: Clear Poetry cache
run: rm -r .venv

- name: Create virtual environment
run: python -m venv create .venv

- name: Set up virtual environment
run: poetry config virtualenvs.in-project true

- name: Install Dependencies 📦
run: |
make install
sudo apt-get -y install libpq-dev
make install-full || make install-full || make install-full
- name: Compose tag name
id: set_tagname
run: |
DATE=$(date +'%Y%m%d')
pip install pluggy
pip install packaging
# Find latest rasa-oss version
echo "Trying to find the latest rasa-oss version..."
Expand Down
88 changes: 55 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fbmessenger = "~6.0.0"
pykwalify = ">=1.7,<1.9"
coloredlogs = ">=10,<16"
"ruamel.yaml" = ">=0.16.5,<0.17.22"
pyyaml = ">=5.3.1,<6.0"
pyyaml = "5.3.1"
twilio = ">=6.26,<8.4"
webexteamssdk = ">=1.1.1,<1.7.0"
mattermostwrapper = "~2.2"
Expand Down
1 change: 0 additions & 1 deletion rasa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
# define the version before the other imports since these need it
__version__ = version.__version__


logging.getLogger(__name__).addHandler(logging.NullHandler())

0 comments on commit 42c0d0a

Please sign in to comment.