Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #78 from geerlingguy/77-checkout-v2
Browse files Browse the repository at this point in the history
Fixes #77: Update checkout action to v2 for CI stability.
  • Loading branch information
geerlingguy authored Apr 21, 2020
2 parents 493b6e3 + 1ea2781 commit 0199bc9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python_version: ['3.6']
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
path: ansible_collections/community/kubernetes

Expand All @@ -31,6 +31,7 @@ jobs:

- name: Run sanity tests on Python ${{ matrix.python_version }}
run: ansible-test sanity --docker -v --color --python ${{ matrix.python_version }}
working-directory: ./ansible_collections/community/kubernetes

integration:
runs-on: ubuntu-latest
Expand All @@ -39,7 +40,7 @@ jobs:
python_version: ['3.6']
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
path: ansible_collections/community/kubernetes

Expand All @@ -53,9 +54,11 @@ jobs:

- name: Run integration tests on Python ${{ matrix.python_version }}
run: ansible-test integration --docker -v --color --retry-on-error --python ${{ matrix.python_version }} --continue-on-error --diff --coverage
working-directory: ./ansible_collections/community/kubernetes

- name: Generate coverage report.
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
working-directory: ./ansible_collections/community/kubernetes

- uses: codecov/codecov-action@v1
with:
Expand All @@ -68,7 +71,7 @@ jobs:
python_version: ['3.7']
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
path: ansible_collections/community/kubernetes

Expand All @@ -89,7 +92,8 @@ jobs:
- name: Create default collection path symlink
run: |
mkdir -p /home/runner/.ansible
ln -s /home/runner/work/kubernetes /home/runner/.ansible/collections
ln -s /home/runner/work/kubernetes/kubernetes /home/runner/.ansible/collections
- name: Run molecule default test scenario
run: molecule test
working-directory: ./ansible_collections/community/kubernetes

0 comments on commit 0199bc9

Please sign in to comment.