File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1616 with :
1717 python-version : ' 3.x'
1818 - name : Prepare test environment
19+ env :
20+ PHPIPAM_URL : ${{ secrets.PHPIPAM_URL }}
21+ PHPIPAM_APPID : ${{ secrets.PHPIPAM_APPID }}
22+ PHPIPAM_USERNAME : ${{ secrets.PHPIPAM_USERNAME }}
23+ PHPIPAM_PASSWORD : ${{ secrets.PHPIPAM_PASSWORD }}
1924 run : |
2025 python -m pip install --upgrade pip
2126 make test-setup
Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ test-setup: | tests/vars/server.yml
6060 pip install --upgrade -r requirements-dev.txt
6161
6262tests/vars/server.yml :
63- cp $@ .example $@
64- @echo " Please configure $@ to point to your phpIPAM instance for recording."
63+ sed -e " s#~~url~~#$( PHPIPAM_URL) #" -e " s#~~app_id~~#$( PHPIPAM_APPID) #" -e " s#~~username~~#$( PHPIPAM_USERNAME) #" -e " s#~~password~~#$( PHPIPAM_PASSWORD) #" $@ .example > $@
6564
6665test-all :
6766 coverage run -m pytest tests/test_cases/* -v
Original file line number Diff line number Diff line change 11# Parameter for all tests
2- url: 'https://ipam.example.com'
3- app_id: my_app
4- username: user
5- password: p455w0rd
2+ url: ~~url~~
3+ app_id: ~~app_id~~
4+ username: ~~username~~
5+ password: ~~password~~
You can’t perform that action at this time.
0 commit comments