Skip to content

Commit aebe904

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

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
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/

tests/test_misc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
@pytest.fixture(scope="module")
1818
def username():
19-
return get_gh_username()
19+
return "XXX"
20+
#return get_gh_username()
2021

2122

2223
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)