diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e05672ca..979bdd3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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"