File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Test with Netbox feature branch
3+
4+ on :
5+ schedule :
6+ - cron : " 35 07 * * *"
7+ workflow_dispatch :
8+
9+ jobs :
10+ feature-tests :
11+ runs-on : ubuntu-latest
12+ name : Run initializer test script
13+ steps :
14+ - id : git-checkout
15+ name : Checkout
16+ uses : actions/checkout@v3
17+ - id : code-update
18+ name : Change test target to feature branch of Netbox
19+ run : |
20+ sed -i '/max_version/d' src/netbox_initializers/__init__.py
21+ sed -i 's/v[0-9].[0-9]/feature/g' test/Dockerfile
22+ - id : test-script-1
23+ name : Test the initializers (First run)
24+ env :
25+ KEEP_VOLUMES : " true"
26+ run : |
27+ cd test
28+ ./test.sh
29+ - id : test-script-2
30+ name : Test the initializers (Second run)
31+ run : |
32+ cd test
33+ ./test.sh
You can’t perform that action at this time.
0 commit comments