Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a github action to run the unittests
Browse files Browse the repository at this point in the history
GhaziSyed committed Jun 26, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent e001b7b commit ffe41a3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pytest

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements.txt
- name: Run tests
run: |
pytest fmperf/tests/test_imports.py

0 comments on commit ffe41a3

Please sign in to comment.