Skip to content

Commit

Permalink
Solving issue on github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Temporim <arthurrtl@gmail.com>
  • Loading branch information
arthurTemporim committed Oct 15, 2023
1 parent 9e3da46 commit 52f98c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
pip install --upgrade pip
pip install flake8 pytest rasa==3.6.12
if [ -f requirements.txt ]; then make install; fi
export MONGO_HOST=mongo
export MONGO_PORT=27017
export MONGO_USERNAME=
export MONGO_PASSWORD=
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -44,8 +40,12 @@ jobs:
echo "Rasa is installed"
- name: Rasa train
run: |
# Removing endpoints.yml and credentials.yml to this workflow.
rm bot/endpoints.yml
rm bot/credentials.yml
cd bot/
sed -i "s/epochs.*$/epochs: 10/" ./config.yml
# Editing config.yml to train with less time.
sed -i "s/epochs.*$/epochs: 5/" ./config.yml
echo "Changed epochs to 10 to check faster"
make train
echo "Model is saved"
Expand Down

0 comments on commit 52f98c4

Please sign in to comment.