2022-11-03 16:48:27 +00:00
|
|
|
name: Integration Test v2 - kradalby
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
integration-test-v2-kradalby:
|
|
|
|
runs-on: [self-hosted, linux, x64, nixos, docker]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 2
|
|
|
|
|
2022-11-04 09:32:57 +00:00
|
|
|
- name: Get changed files
|
|
|
|
id: changed-files
|
|
|
|
uses: tj-actions/changed-files@v14.1
|
|
|
|
with:
|
|
|
|
files: |
|
|
|
|
*.nix
|
|
|
|
go.*
|
|
|
|
**/*.go
|
|
|
|
integration_test/
|
|
|
|
config-example.yaml
|
2022-11-03 16:48:27 +00:00
|
|
|
|
|
|
|
- name: Run general integration tests
|
2022-11-04 09:32:57 +00:00
|
|
|
if: steps.changed-files.outputs.any_changed == 'true'
|
2022-11-03 16:48:27 +00:00
|
|
|
run: nix develop --command -- make test_integration_v2_general
|