2 Commits

Author SHA1 Message Date
bacant150 3120e0054c Реалізовую базовий FileReader та переношу sleep до FileDatasource.read()
Test Agent / test-agent-run (push) Failing after 4s
2026-02-24 00:16:22 +02:00
hasslesstech f5927d7157 lab1: add CI/CD testing
Test Agent / test-agent-run (push) Successful in 7s
2026-02-24 00:13:07 +02:00
3 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
name: Test Agent
on: [push, workflow_dispatch]
on: [push]
jobs:
test-agent-run:
runs-on: arch-x86_64
runs-on: debian-x86_64
steps:
- name: Fetch the repository
run: git clone --branch ${{ gitea.ref_name }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
-2
View File
@@ -1,2 +0,0 @@
agent/docker/mosquitto/data/
agent/docker/mosquitto/log/
+1 -1
View File
@@ -68,7 +68,7 @@ class FileDatasource:
return AggregatedData(
accelerometer=acc,
gps=gps,
timestamp=datetime.utcnow(),
time=datetime.utcnow(),
user_id=config.USER_ID,
)