Merge pull request #3 from canonical/fix-create-admin #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
setup-maas: | |
name: Setup MAAS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: canonical/setup-maas@main | |
- name: Create MAAS admin | |
run: sudo maas createadmin --username=admin --password=test [email protected] | |
setup-maas-with-db-dump: | |
name: Setup MAAS with dump database | |
runs-on: ubuntu-latest | |
steps: | |
- uses: canonical/setup-maas@main | |
with: | |
use-maasdb-dump: true | |
- name: Create MAAS admin | |
run: sudo maas createadmin --username=admin --password=test [email protected] |