add util function to search all files in directory (#206) #343
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: pytest | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**' | |
- '!**.md' | |
- '!doc/**' | |
- '!**.txt' | |
- '!LICENSE' | |
- 'test/**' | |
branches: ['main', 'release-*'] | |
pull_request: | |
jobs: | |
pytest: | |
name: Run tests with pytest | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install ARI | |
run: pip install -e . | |
- name: Install pytest | |
run: pip install pytest | |
- name: Run Tests | |
env: | |
ARI_LOG_LEVEL: debug | |
run: pytest test -s |