Going back to the old way of running e2e specs #750
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: Lucky CLI Main CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: "*" | |
| env: | |
| FORCE_COLOR: 1 | |
| EARTHLY_CI: 'true' | |
| EARTHLY_ALLOW_PRIVILEGED: 'true' | |
| jobs: | |
| specs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: earthly/actions-setup@v1 | |
| with: | |
| version: v0.8.0 | |
| - uses: actions/checkout@v5 | |
| - name: Run build | |
| run: | | |
| earthly +gh-action-essential | |
| platform-specs: | |
| needs: specs | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - {os: macos-latest} | |
| - {os: windows-latest} | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: crystal-lang/install-crystal@v1 | |
| with: | |
| crystal: latest | |
| - name: Install shards | |
| run: shards install | |
| - name: Run specs | |
| run: crystal spec --tag "~integration" | |
| integration-specs: | |
| needs: specs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: earthly/actions-setup@v1 | |
| with: | |
| version: v0.8.0 | |
| - uses: actions/checkout@v5 | |
| - name: Run build | |
| run: | | |
| earthly +gh-action-integration | |
| e2e-specs: | |
| needs: integration-specs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: earthly/actions-setup@v1 | |
| with: | |
| version: v0.8.0 | |
| - uses: actions/checkout@v5 | |
| - name: Run build | |
| run: | | |
| earthly +gh-action-e2e |