# .github/workflows/test-deploy.yml name: Build & Test Infinito.Nexus CLI in Docker Container on: push: branches: - main - master - develop - "*" pull_request: jobs: test-deploy: runs-on: ubuntu-latest timeout-minutes: 240 env: EXCLUDED_ROLES: > drv-lid-switch, svc-net-wireguard-core, svc-net-wireguard-firewalled, svc-net-wireguard-plain, svc-opt-keyboard-color, svc-opt-ssd-hdd, web-app-bridgy-fed, web-app-oauth2-proxy, web-app-postmarks, web-app-elk, web-app-syncope, web-app-socialhome, web-svc-xmpp, INFINITO_IMAGE: infinito:latest steps: - name: Main Checkout repository uses: actions/checkout@v4 - name: Show Docker version run: docker version # First deploy: normal + debug - name: First deploy (normal + debug) run: | python -m cli.deploy.container --build --exclude "$EXCLUDED_ROLES" -- \ -T server \ --debug \ --skip-cleanup \ --skip-tests # Second deploy: reset + debug - name: Second deploy (--reset --debug) run: | python -m cli.deploy.container --exclude "$EXCLUDED_ROLES" -- \ -T server \ --reset \ --debug \ --skip-cleanup \ --skip-tests # Third deploy: async, no debug - name: Third deploy (async deploy – no debug) run: | python -m cli.deploy.container --exclude "$EXCLUDED_ROLES" -- \ -T server \ --skip-cleanup \ --skip-tests