Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Aug 22, 2024
1 parent f92eda9 commit 8f0af2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,8 @@ jobs:
route: GET /repos/${{ github.event.repository.full_name }}/pulls/${{ github.event.number }}
- name: Run Integration tests
run: |
# Get Minimal Agent
git clone https://github.com/Indicio-tech/acapy-minimal-example.git
# Copy custom integration tests to acapy-minimal-example
cp -TRv integration-tests/examples acapy-minimal-example/examples
cp -f integration-tests/conftest.py acapy-minimal-example/conftest.py
# Build the docker image for testing
docker build -t acapy-test -f docker/Dockerfile.run .
cd acapy-minimal-example
cd integration-tests
poetry install
poetry run pytest -m examples
2 changes: 1 addition & 1 deletion integration-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ RUN poetry config virtualenvs.in-project true
COPY pyproject.toml poetry.lock README.md ./
RUN poetry install

COPY tests/ tests/
COPY examples/ examples/

ENTRYPOINT ["poetry", "run"]
2 changes: 1 addition & 1 deletion integration-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def compose(self, *command: str) -> int:
"""
try:
subprocess.run(
["docker compose", "-f", self.compose_file, *command],
["docker-compose", "-f", self.compose_file, *command],
check=True,
)
return 0
Expand Down

0 comments on commit 8f0af2b

Please sign in to comment.