Skip to content

Merge pull request #6 from zaro0508/test-hadolint-beta #12

Merge pull request #6 from zaro0508/test-hadolint-beta

Merge pull request #6 from zaro0508/test-hadolint-beta #12

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
test:
strategy:
matrix:
version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, windows-2022, macos-12]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up python ${{ matrix.version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.version }}
architecture: 'x64'
- name: Install dependencies
run: pip install tox
- name: Run tests for python ${{ matrix.version }}
run: tox -e py$(tr -d '.' <<< '${{ matrix.version }}')