mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-11 18:43:45 +00:00
Merge branch 'main' into integration-v2-resolve-magicdns
This commit is contained in:
commit
e7e2c7804b
7
.github/workflows/test-integration-cli.yml
vendored
7
.github/workflows/test-integration-cli.yml
vendored
@ -32,9 +32,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run CLI integration tests
|
- name: Run CLI integration tests
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: nick-fields/retry@v2
|
run: nix develop --command -- make test_integration_cli
|
||||||
with:
|
|
||||||
timeout_minutes: 240
|
|
||||||
max_attempts: 5
|
|
||||||
retry_on: error
|
|
||||||
command: nix develop --command -- make test_integration_cli
|
|
||||||
|
7
.github/workflows/test-integration-derp.yml
vendored
7
.github/workflows/test-integration-derp.yml
vendored
@ -32,9 +32,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Embedded DERP server integration tests
|
- name: Run Embedded DERP server integration tests
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: nick-fields/retry@v2
|
run: nix develop --command -- make test_integration_derp
|
||||||
with:
|
|
||||||
timeout_minutes: 240
|
|
||||||
max_attempts: 5
|
|
||||||
retry_on: error
|
|
||||||
command: nix develop --command -- make test_integration_derp
|
|
||||||
|
@ -32,9 +32,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run general integration tests
|
- name: Run general integration tests
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: nick-fields/retry@v2
|
run: nix develop --command -- make test_integration_general
|
||||||
with:
|
|
||||||
timeout_minutes: 240
|
|
||||||
max_attempts: 5
|
|
||||||
retry_on: error
|
|
||||||
command: nix develop --command -- make test_integration_general
|
|
||||||
|
7
.github/workflows/test-integration-oidc.yml
vendored
7
.github/workflows/test-integration-oidc.yml
vendored
@ -32,9 +32,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run OIDC integration tests
|
- name: Run OIDC integration tests
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: nick-fields/retry@v2
|
run: nix develop --command -- make test_integration_oidc
|
||||||
with:
|
|
||||||
timeout_minutes: 240
|
|
||||||
max_attempts: 5
|
|
||||||
retry_on: error
|
|
||||||
command: nix develop --command -- make test_integration_oidc
|
|
||||||
|
@ -32,9 +32,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run general integration tests
|
- name: Run general integration tests
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: nick-fields/retry@v2
|
run: nix develop --command -- make test_integration_v2_general
|
||||||
with:
|
|
||||||
timeout_minutes: 240
|
|
||||||
max_attempts: 5
|
|
||||||
retry_on: error
|
|
||||||
command: nix develop --command -- make test_integration_v2_general
|
|
||||||
|
2
Makefile
2
Makefile
@ -74,7 +74,7 @@ test_integration_v2_general:
|
|||||||
-v $$PWD:$$PWD -w $$PWD/integration \
|
-v $$PWD:$$PWD -w $$PWD/integration \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
golang:1 \
|
golang:1 \
|
||||||
go test ./... -timeout 15m -v
|
go test ./... -timeout 30m
|
||||||
|
|
||||||
coverprofile_func:
|
coverprofile_func:
|
||||||
go tool cover -func=coverage.out
|
go tool cover -func=coverage.out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user