Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Upgrade docker stuff
run: sudo apt-get install --upgrade docker-compose
- uses: actions/checkout@v2
- name: run phpipam-action
uses: ./ # use action in the root directory
Expand All @@ -33,14 +35,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
phpipam: ['1.4x','1.5x']
phpipam: ['v1.4x','v1.5x']
steps:
- name: Upgrade docker stuff
run: sudo apt-get install --upgrade docker-compose
- uses: actions/checkout@v2
- name: run phpipam-action
- name: Run phpipam-action
uses: ./ # use action in the root directory
with:
ipam_version: ${{ matrix.phpipam }}
- name: "Test phpipam api and database"
- name: "Test phpipam api"
run: |
curl -k --user Admin:ipamadmin -X POST https://localhost/api/ansible/user/
- name: "Test database"
run: |
mysql -h 127.0.01 -u ${{ env.IPAM_DATABASE_USER }} -p${{ env.IPAM_DATABASE_PASS }} ${{ env.IPAM_DATABASE_NAME }} --execute="SHOW TABLES"
Loading