test: Add with-config and change-to-non-root-user test scenarios

Also run test scenarios in parallel on GitHub Actions.
This commit is contained in:
2020-01-18 02:13:55 +00:00
parent 0ba86ec5f5
commit 8f1ed8aa02
14 changed files with 599 additions and 4 deletions

View File

@@ -8,7 +8,11 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.6, 3.7]
python-version: [3.6, 3.7]
scenario:
- default
- with-config
- change-to-non-root-user
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
@@ -17,9 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install docker
sudo apt-get install -y docker
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with molecule
run: |
molecule test --all
molecule test -s ${{ matrix.scenario }}