fix: fixing linting action and lint errors [2024-11-26] #50
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: HerdingCats Unit Tests | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "tests/**" | ||
jobs: | ||
test: | ||
Check failure on line 11 in .github/workflows/herding_cats_explorer_tests.yml GitHub Actions / HerdingCats Unit TestsInvalid workflow file
|
||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest requests loguru pandas polars duckdb==1.0.0 boto3 pyarrow | ||
- name: Create pytest.ini | ||
run: | | ||
echo "[pytest]" > pytest.ini | ||
echo "pythonpath = ." >> pytest.ini | ||
- name: Run tests | ||
run: pytest tests/ |