Skip to content

Commit

Permalink
Github actions - tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximdanilchenko committed Nov 9, 2023
1 parent 45bbc71 commit bfc8c9a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests
on: [push]
jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
requirements: [
"dev-requirements/dev-requirements.txt",
"dev-requirements/dev-requirements-ciso.txt",
"dev-requirements/dev-requirements-cython.txt",
"dev-requirements/dev-requirements-cython-ciso.txt"
]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ${{ matrix.requirements }}
- name: Run tests
run: |
make test

0 comments on commit bfc8c9a

Please sign in to comment.