Merge pull request #28 from DavideGalilei/dev #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: Gpytranslate CI | |
on: | |
push: | |
branches: [ "dev", "master" ] | |
pull_request: | |
branches: [ "dev", "master" ] | |
jobs: | |
tests: | |
name: "Python ${{ matrix.version }} compatibility" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | |
steps: | |
- uses: "actions/checkout@v2" | |
- uses: "actions/setup-python@v2" | |
with: | |
python-version: "${{ matrix.version }}" | |
- name: "Install Gpytranslate" | |
run: python -m pip install . | |
- name: "Install pytest" | |
run: python -m pip install pytest-asyncio | |
- name: "Run tests" | |
run: python -m pytest tests |