Skip to content

chore: 🚚 moving CI files to where they belong #1

chore: 🚚 moving CI files to where they belong

chore: 🚚 moving CI files to where they belong #1

Workflow file for this run

name: tests

Check failure on line 1 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

`pull_requests` is not a valid event name
on:
pull_requests:
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Setup pyenv
uses: gabrielfalcao/pyenv-action@v18
with:
default: "${{ matrix.python }}"
command: pip install -U pip # updade pip
- name: Install dev dependencies
run: >
pyenv virtualenv dev_env
pyenv activate dev_env
pip install -e . |
pip install dev-requirements.txt |
pip list
- name: Run tests
shell: bash -l {0}
run: >
pyenv activate dev_env
&& pytest --cov=geoparquet_pydantic --cov-report=xml tests/
- name: Upload coverage report to CodeCov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}