Version 26.4.1-dev #3775
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: Test ethd | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize, labeled, unlabeled] | |
| branches: [main] | |
| jobs: | |
| test-ethd: | |
| if: | | |
| contains(github.event.pull_request.labels.*.name, 'test-ethd') || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-15-intel] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Docker buildx | |
| if: ${{ startsWith(matrix.os, 'ubuntu-') }} | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Set up Docker on macOS | |
| if: ${{ startsWith(matrix.os, 'macos-') }} | |
| uses: douglascamata/setup-docker-macos-action@d5ccc6aae0ce23e7700154f5e63cc53e6433ac48 | |
| - name: Install Expect | |
| if: ${{ startsWith(matrix.os, 'ubuntu-') }} | |
| run: sudo apt-get install -y expect whiptail | |
| - name: Prerequisites on macOS | |
| if: ${{ startsWith(matrix.os, 'macos-') }} | |
| run: brew install bash newt coreutils expect gawk | |
| - name: Use default.env | |
| run: cp default.env .env | |
| - name: Set old .env version | |
| run: | | |
| source ./.github/helper.sh | |
| ENV_VERSION=42 | |
| var=ENV_VERSION | |
| set_value_in_env | |
| - name: Test ethd update | |
| run: ./ethd update --debug --non-interactive | |
| - name: Remove .env | |
| run: rm .env | |
| - name: Test ethd config defaults | |
| run: expect ./.github/test-ethd-config.exp all-defaults | |
| env: | |
| TERM: xterm | |
| - name: Test ethd config no checkpoint | |
| run: expect ./.github/test-ethd-config.exp no-checkpoint | |
| env: | |
| TERM: xterm | |
| - name: Test ethd config no mev | |
| run: expect ./.github/test-ethd-config.exp no-mev | |
| env: | |
| TERM: xterm | |
| - name: Test ethd config no grafana | |
| run: expect ./.github/test-ethd-config.exp no-grafana | |
| env: | |
| TERM: xterm |