Skip to content

Commit

Permalink
Merge branch 'main' into fix-mypy-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Mar 10, 2022
2 parents 4e5e82d + 291f6c6 commit 4d4b8d4
Show file tree
Hide file tree
Showing 182 changed files with 1,181 additions and 874 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automatic-pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: github.repository == 'RasaHQ/rasa'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: rasahq/update-pr-branch@601ac3dadf708b14e7f0252d98230538235f99d9
with:
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automatic-release-to-main-merger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Fetch git tags 🎨
# see https://github.com/actions/checkout/issues/206#issuecomment-617937725
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-docs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true

env:
DEFAULT_PYTHON_VERSION: '3.7'
DEFAULT_PYTHON_VERSION: '3.9'

jobs:
changes:
Expand All @@ -22,7 +22,7 @@ jobs:
outputs:
docs: ${{ steps.filter.outputs.docs }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: RasaHQ/pr-changed-files-filter@c4f7116a04b8a4596313469429e2ad235f59d9c4
id: filter
with:
Expand All @@ -37,10 +37,10 @@ jobs:

steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
pull_request:

env:
DEFAULT_PYTHON_VERSION: '3.7'
DEFAULT_PYTHON_VERSION: '3.9'

jobs:
test:
Expand All @@ -20,15 +20,15 @@ jobs:

steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download gomplate
run: |-
sudo curl -o /usr/local/bin/gomplate -sSL https://github.com/hairyhenderson/gomplate/releases/download/v3.9.0/gomplate_linux-amd64
sudo chmod +x /usr/local/bin/gomplate
- name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/ci-model-regression-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
matrix_length: ${{ steps.set-matrix.outputs.matrix_length }}
steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout dataset
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.DATASET_REPOSITORY }}
token: ${{ secrets.ML_TEST_SA_PAT }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download gomplate
run: |-
Expand All @@ -78,7 +78,7 @@ jobs:
GH_RUNNER_IMAGE_TAG=$(jq -r 'if (.config | any(.TF == "${{ env.TF_VERSION }}" )) then (.config[] | select(.TF == "${{ env.TF_VERSION }}") | .IMAGE_TAG) else .default_image_tag end' .github/configs/tf-cuda.json)
echo "GitHub runner image tag for TensorFlow ${{ env.TF_VERSION }} is ${GH_RUNNER_IMAGE_TAG}"
echo GH_RUNNER_IMAGE_TAG=$GH_RUNNER_IMAGE_TAG >> $GITHUB_ENV
num_max_replicas=3
matrix_length=${{ needs.read_test_configuration.outputs.matrix_length }}
if [[ $matrix_length -gt $num_max_replicas ]]; then
Expand Down Expand Up @@ -156,10 +156,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout dataset
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.DATASET_REPOSITORY }}
token: ${{ secrets.ML_TEST_SA_PAT }}
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
echo "HOST_NAME=${HOST_NAME}" >> $GITHUB_ENV
- name: Checkout dataset - external
uses: actions/checkout@v2
uses: actions/checkout@v3
if: steps.set_dataset_config_vars.outputs.is_external == 'true'
with:
repository: ${{ env.DATASET }}
Expand Down Expand Up @@ -265,11 +265,11 @@ jobs:
run: |
.github/scripts/start_dd_agent.sh "${{ secrets.DD_API_KEY }}" "${{ env.ACCELERATOR_TYPE }}" ${{ env.NVML_INTERVAL_IN_SEC }}
- name: Set up Python 3.8 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
- name: Set up Python 3.9 🐍
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
python-version: 3.8
python-version: 3.9

- name: Read Poetry Version 🔢
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand All @@ -288,7 +288,7 @@ jobs:
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.8-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}

- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down Expand Up @@ -496,12 +496,12 @@ jobs:
if: always() && needs.model_regression_test_gpu.result == 'success'
steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python 3.7 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
- name: Set up Python 3.9 🐍
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
with:
python-version: 3.7
python-version: 3.9

- name: Get reports
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -539,7 +539,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download report from last on-schedule regression test
run: |
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/ci-model-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download gomplate
run: |-
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
echo "::set-output name=dataset_branch::${DATASET_BRANCH}"
- name: Checkout dataset
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.DATASET_REPOSITORY }}
token: ${{ secrets.ML_TEST_SA_PAT }}
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download gomplate
run: |-
Expand Down Expand Up @@ -253,10 +253,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout dataset
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.DATASET_REPOSITORY }}
token: ${{ secrets.ML_TEST_SA_PAT }}
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
echo "HOST_NAME=${HOST_NAME}" >> $GITHUB_ENV
- name: Checkout dataset - external
uses: actions/checkout@v2
uses: actions/checkout@v3
if: steps.set_dataset_config_vars.outputs.is_external == 'true'
with:
repository: ${{ env.DATASET }}
Expand Down Expand Up @@ -363,11 +363,11 @@ jobs:
export PR_URL="https://github.com/${GITHUB_REPOSITORY}/pull/${{ github.event.number }}"
.github/scripts/start_dd_agent.sh "${{ secrets.DD_API_KEY }}" "${{ env.ACCELERATOR_TYPE }}" ${{ env.NVML_INTERVAL_IN_SEC }}
- name: Set up Python 3.8 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
- name: Set up Python 3.9 🐍
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
python-version: 3.8
python-version: 3.9

- name: Read Poetry Version 🔢
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand All @@ -386,7 +386,7 @@ jobs:
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.8-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}

- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down Expand Up @@ -498,10 +498,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout dataset
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ secrets.DATASET_REPOSITORY }}
token: ${{ secrets.ML_TEST_SA_PAT }}
Expand Down Expand Up @@ -576,7 +576,7 @@ jobs:
echo "HOST_NAME=${HOST_NAME}" >> $GITHUB_ENV
- name: Checkout dataset - external
uses: actions/checkout@v2
uses: actions/checkout@v3
if: steps.set_dataset_config_vars.outputs.is_external == 'true'
with:
repository: ${{ env.DATASET }}
Expand Down Expand Up @@ -608,11 +608,11 @@ jobs:
export PR_URL="https://github.com/${GITHUB_REPOSITORY}/pull/${{ github.event.number }}"
.github/scripts/start_dd_agent.sh "${{ secrets.DD_API_KEY }}" "${{ env.ACCELERATOR_TYPE }}" ${{ env.NVML_INTERVAL_IN_SEC }}
- name: Set up Python 3.8 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
- name: Set up Python 3.9 🐍
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
python-version: 3.8
python-version: 3.9

- name: Read Poetry Version 🔢
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand All @@ -631,7 +631,7 @@ jobs:
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.8-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}

- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down Expand Up @@ -754,12 +754,12 @@ jobs:
echo "::set-output name=success_status::$success_status"
- name: Checkout git repository 🕝
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python 3.7 🐍
uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
- name: Set up Python 3.9 🐍
uses: actions/setup-python@0ebf233433c08fb9061af664d501c3f3ff0e9e20 # v3.0
with:
python-version: 3.7
python-version: 3.9

- name: Get reports
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -811,7 +811,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download report from last on-schedule regression test
run: |
Expand Down
Loading

0 comments on commit 4d4b8d4

Please sign in to comment.