Add custom filter support #30
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: Python test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-module: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install dependencies | |
run: pip install . .[tests] | |
- name: Run tests | |
run: pytest | |
env: | |
ANSIBLE_VAULT_PASSWORD_FILE: tests/ansible_vault_password | |
- name: E2E test | |
run: | | |
python -m little_timmy -h | |
python -m little_timmy -e tests/repos/config_file_skip/repo -c tests/repos/config_file_skip/repo/.little-timmy | |
python -m little_timmy -e tests/repos/config_file_skip/repo | |
python -m little_timmy -e tests/repos/alternate_layout/repo | |
python -m little_timmy -j tests/repos/no_unused/repo | |
python -m little_timmy -g -e tests/repos/alternate_layout/repo | |
env: | |
ANSIBLE_VAULT_PASSWORD_FILE: tests/ansible_vault_password |