Run integrtation tests in different steps in Github Actions
@@ -30,11 +30,29 @@ jobs:
- uses: cachix/install-nix-action@v16
if: steps.changed-files.outputs.any_changed == 'true'
- - name: Run Integration tests
+ - name: Run CLI integration tests
if: steps.changed-files.outputs.any_changed == 'true'
uses: nick-fields/retry@v2
with:
timeout_minutes: 240
max_attempts: 5
retry_on: error
- command: nix develop --command -- make test_integration
+ command: nix develop --command -- make test_integration_cli
+
+ - name: Run Embedded DERP server integration tests
+ if: steps.changed-files.outputs.any_changed == 'true'
+ uses: nick-fields/retry@v2
+ with:
+ timeout_minutes: 240
+ max_attempts: 5
+ retry_on: error
+ command: nix develop --command -- make test_integration_derp
+
+ - name: Run general integration tests
+ if: steps.changed-files.outputs.any_changed == 'true'
+ uses: nick-fields/retry@v2
+ with:
+ timeout_minutes: 240
+ max_attempts: 5
+ retry_on: error
+ command: nix develop --command -- make test_integration_general
