From ff53e190ff1e30f08ad3a781948199a7ede46f9b Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Fri, 5 Jan 2024 09:52:28 +0100 Subject: [PATCH] Improved test for feature branch --- .github/workflows/feature-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/feature-test.yml b/.github/workflows/feature-test.yml index c7ec953..5939e5e 100644 --- a/.github/workflows/feature-test.yml +++ b/.github/workflows/feature-test.yml @@ -18,7 +18,8 @@ jobs: name: Change test target to feature branch of Netbox run: | sed -i '/max_version/d' src/netbox_initializers/__init__.py - sed -i 's/v[0-9].[0-9]/feature/g' test/Dockerfile + sed -i '/min_version/d' src/netbox_initializers/__init__.py + sed -i 's/FROM netboxcommunity/netbox:v[0-9].[0-9]/FROM netboxcommunity/netbox:feature/g' test/Dockerfile - id: test-script-1 name: Test the initializers (First run) env: