Skip to content

Commit

Permalink
Create pydnd-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Coffee-fueled-deadlines authored Sep 3, 2024
1 parent c35f78f commit 49391ef
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pydnd-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Python package

on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.7, 3.6, 3.8, 3.9, 3.10, 3.11]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install the package
run: pip install .

- name: Run tests
run: |
python -m unittest discover tests

0 comments on commit 49391ef

Please sign in to comment.