Skip to content

Commit 26c3413

Browse files
committed
added a GitHub action to run unit tests automatically on code push
1 parent 4362348 commit 26c3413

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/.workflows/unittests.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Continuous Integration
2+
on: [push]
3+
jobs:
4+
  build:
5+
    runs-on: ubuntu-latest
6+
    steps:
7+
      - uses: actions/checkout@v2
8+
      - name: Set up Python
9+
        uses: actions/setup-python@v2
10+
        with:
11+
          python-version: 3.12.0
12+
          architecture: x64
13+
      - name: Install dependencies
14+
        run: pip install -r requirements.txt
15+
      - name: Run Tests
16+
        run: python -m pytest

0 commit comments

Comments
 (0)