Skip to content

Modernize testing

Modernize testing #10

Workflow file for this run

---
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 }}