FEAT Run tests during Github CICD (#58)

This commit is contained in:
Jose M Leon 2025-01-27 08:40:20 -05:00 committed by GitHub
parent 64b2e5b3db
commit d89f8990a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 34 additions and 0 deletions

34
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Setup and Run Tests
run: |
make setup-dev
make test