Compare commits

...

9 Commits
master ... main

Author SHA1 Message Date
adm_tomkun 5e87076c2b .
Continuous Deployment Tests / system_tests (push) Failing after 13m26s Details
2026-03-19 11:39:28 +00:00
adm_tomkun e9cc6900c7 .
Continuous Deployment Tests / system_tests (push) Failing after 9s Details
2026-03-19 11:36:02 +00:00
adm_tomkun a399cae6c0 .
Continuous Deployment Tests / system_tests (push) Failing after 1m8s Details
2026-03-19 11:32:35 +00:00
adm_tomkun 029f0a0270 . 2026-03-19 11:27:36 +00:00
adm_tomkun bc5122136b Update .gitea/workflows/cd_tests.yml 2026-03-19 11:25:13 +00:00
Tom Kunc 69edbd1dce . 2026-03-19 22:02:45 +11:00
Tom Kunc bd3f1c1393 . 2026-03-19 22:00:59 +11:00
Tom Kunc 9fb02b31de . 2026-03-19 21:57:42 +11:00
Tom Kunc 3da14bd41b . 2026-03-19 21:56:05 +11:00
2 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,74 @@
name: Continuous Deployment Tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
system_tests:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.11"
- name: Install protoc
shell: bash
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends protobuf-compiler
- name: Install protoc-gen-mypy plugin
shell: bash
run: uv tool install mypy-protobuf
- name: Generate protobuf files
working-directory: solution
shell: bash
run: bash build_proto.sh
- name: Build wheel
working-directory: solution
shell: bash
run: uv build
- name: Create virtual environment
working-directory: solution
shell: bash
run: uv venv .venv
- name: Install wheel
working-directory: solution
shell: bash
run: uv pip install --python .venv dist/*.whl
- name: Create logs directory
working-directory: solution
shell: bash
run: mkdir -p logs
- name: Run system tests
working-directory: solution
shell: bash
run: |
set -euo pipefail
.venv/bin/pytest tests/ \
--venv-path=.venv \
--deployment-config=deployment_config.json \
--junit-xml=logs/test_results.xml \
-W error::pytest.PytestUnhandledThreadExceptionWarning
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
if-no-files-found: warn
path: solution/logs/

2
test.txt Normal file
View File

@ -0,0 +1,2 @@
.
.