Skip to content

Commit

Permalink
Create a Github Action to run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esafak committed Dec 22, 2024
1 parent 1b5430e commit b95cb74
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test_mca.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Tests on Pull Request

on:
pull_request:
branches:
- main # Change this to the branch you want to track for PRs, if needed

jobs:
run-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13" # Specify the Python version required for your project

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

0 comments on commit b95cb74

Please sign in to comment.