Skip to content

Commit 4b556f3

Browse files
authored
Merge pull request #294 from SakhinetiPraveena/master
Added github actions for automatically running tests.
2 parents 256ae5e + 2558ac5 commit 4b556f3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci-run-tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run tests automatically
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
jobs:
10+
run-tests:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.10'
21+
22+
- name: Install dependencies
23+
run: python -m pip install pytest .
24+
25+
- name: Run tests
26+
run: pytest

0 commit comments

Comments
 (0)