From 1538b9d946b17815bfb2040336e2d30f771ecd3d Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 28 Sep 2020 07:21:04 +0200 Subject: [PATCH] Do not run same sanity tests twice (#36) * Do not run same sanity tests twice. * Fix test config. --- .github/workflows/ansible-test-plugins.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ansible-test-plugins.yml b/.github/workflows/ansible-test-plugins.yml index 44e20ef..6faf9b6 100644 --- a/.github/workflows/ansible-test-plugins.yml +++ b/.github/workflows/ansible-test-plugins.yml @@ -4,12 +4,12 @@ on: paths: - 'plugins/**' - 'tests/**' - - '.github/workflows/ansible-test.yml' + - '.github/workflows/ansible-test-plugins.yml' pull_request: paths: - 'plugins/**' - 'tests/**' - - '.github/workflows/ansible-test.yml' + - '.github/workflows/ansible-test-plugins.yml' schedule: - cron: '0 6 * * *' @@ -27,9 +27,6 @@ jobs: - stable-2.9 - stable-2.10 - devel - python: - - 2.7 - - 3.8 steps: - name: Check out code @@ -37,10 +34,10 @@ jobs: with: path: ansible_collections/community/mysql - - name: Set up Python ${{ matrix.python }} + - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python }} + python-version: 3.8 - name: Install ansible-base (${{ matrix.ansible }}) run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check @@ -71,10 +68,10 @@ jobs: with: path: ansible_collections/community/mysql - - name: Set up Python ${{ matrix.python }} + - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python }} + python-version: 3.8 - name: Install ansible-base (${{ matrix.ansible }}) run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check