Skip to content

Commit 84ef25e

Browse files
build: initial setup tests
1 parent e15755d commit 84ef25e

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252

5353
- name: Build and Run Image
5454
run: |
55-
docker build -t python-app .
56-
docker run python-app
55+
docker build -t api-to-dataframe .
56+
docker run api-to-dataframe

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"src"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

src/test_run.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import pytest
2+
from . import run
3+
4+
def test_main():
5+
assert True

0 commit comments

Comments
 (0)