From 9019923715d7ab4bdc7e53e82c05a9a4630378a2 Mon Sep 17 00:00:00 2001 From: Mohamed El Mouctar HAIDARA Date: Sat, 7 Sep 2024 11:14:05 +0200 Subject: [PATCH] update --- .github/workflows/testing.yaml | 4 ++-- README.md | 6 +++--- tests/requirements_tests.txt | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 7182b7c..66c7e88 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -41,7 +41,7 @@ jobs: - name: Install prereqs run: | pip install -q ansible-core=='${{ matrix.ansible-core-version }}' virtualenv setuptools wheel coveralls - pip install -qr tests/requirements_tests.txt + pip install -r requirements.txt -r tests/requirements_tests.txt pip freeze sudo apt-get install -yq graphviz ansible-galaxy install -r tests/fixtures/requirements.yml @@ -90,7 +90,7 @@ jobs: COVERALLS_PARALLEL: true coveralls: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: Finish coverage needs: pytest container: python:3-slim # just need a simple python container to finish the coverage diff --git a/README.md b/README.md index c9b4d0c..80f4b05 100644 --- a/README.md +++ b/README.md @@ -472,12 +472,12 @@ More information [here](https://docs.ansible.com/ansible/latest/reference_append Contributions are welcome. Feel free to contribute by creating an issue or submitting a PR :smiley: -### Dev environment +### Local development -To setup a new development environment : +To setup a new local development environment : - Install graphviz (see above) -- (cd tests && pip install -r requirements_tests.txt) +- pip install -r requirements.txt -r tests/requirements_tests.txt Run the tests and open the generated files in your system’s default viewer application: diff --git a/tests/requirements_tests.txt b/tests/requirements_tests.txt index 7f23754..0e40b10 100644 --- a/tests/requirements_tests.txt +++ b/tests/requirements_tests.txt @@ -1,4 +1,3 @@ --r ../requirements.txt pytest==8.3.2 pytest-cov==5.0.0 pyquery==2.0.1