Modernize testing #10
Workflow file for this run
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: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# not running molecule_basic in CI due to lack of support | |
# of macos image with nested virt + vagrant | |
tox: ["lint", "molecule_default"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
driver: docker-container | |
- name: Install dependencies | |
run: | | |
sudo apt install tox | |
- name: Test using tox | |
run: | | |
sudo -H -E tox -e ${{ matrix.tox }} |