Skip to content

Commit 156a257

Browse files
committed
Add CI workflow for running unittests.
stack-info: PR: #74, branch: ZolotukhinM/stack/3
1 parent 1f384b4 commit 156a257

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/check_tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Check Tests
2+
on: [ pull_request ]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Set up Python
9+
uses: actions/setup-python@v4
10+
with:
11+
python-version: '3.x' # Specify the Python version you want to use
12+
- name: Install dependencies
13+
run: |
14+
python -m pip install --upgrade pip
15+
pip install pytest
16+
- name: Run tests
17+
run: pytest tests/

0 commit comments

Comments
 (0)