mirror of
https://github.com/mvt-project/mvt.git
synced 2026-03-11 13:15:56 +00:00
30 lines
659 B
YAML
30 lines
659 B
YAML
name: Tests
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
name: Run Python Tests
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ['3.8', '3.9', '3.10'] # , '3.11']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install Python dependencies
|
|
run: |
|
|
make install
|
|
make test-requirements
|
|
- name: Test with pytest
|
|
run: |
|
|
make test-ci
|