Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating git actions and requirement.txt for Unit test cases #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
ansible-version: [stable-2.15, stable-2.16, stable-2.17, devel]
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
Expand Down Expand Up @@ -61,6 +61,8 @@ jobs:
python: '3.9'
- ansible: devel
python: '3.9'
- ansible: devel
python: '3.10'

steps:
- name: Perform unit testing with ansible-test
Expand Down Expand Up @@ -94,6 +96,8 @@ jobs:
python: '3.9'
- ansible: devel
python: '3.9'
- ansible: devel
python: '3.10'
runs-on: ubuntu-latest
steps:
- name: Perform sanity testing
Expand Down Expand Up @@ -122,11 +126,13 @@ jobs:
ansible-version: stable-2.17
- python-version: "3.9"
ansible-version: devel
- python-version: "3.10"
ansible-version: devel

steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for progressive mode to work

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pytest-xdist
pytest-mock
pytest-cov
pytest-forked
coverage==4.5.4
coverage
mock
Loading