chore: remove non-nix AMI integration test #1073
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testinfra Integration Tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test-all-in-one: | |
strategy: | |
matrix: | |
include: | |
- runner: [self-hosted, X64] | |
arch: amd64 | |
- runner: arm-runner | |
arch: arm64 | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: docker context create builders | |
- uses: docker/setup-buildx-action@v3 | |
with: | |
endpoint: builders | |
- name: Run aio integration tests | |
run: | | |
# TODO: use poetry for pkg mgmt | |
pip3 install boto3 boto3-stubs[essential] docker ec2instanceconnectcli pytest pytest-testinfra[paramiko,docker] requests | |
if ! pytest -vv testinfra/test_all_in_one.py; then | |
# display container logs if the test fails | |
if [ -f testinfra-aio-container-logs.log ]; then | |
echo "AIO container logs:" | |
cat testinfra-aio-container-logs.log | |
fi | |
exit 1 | |
fi |