Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cmp: [gcc, clang]
configuration: [default, static, debug, static-debug]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- name: Prepare and compile dependencies
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
cmp: [clang]
configuration: [default, debug]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- name: Prepare and compile dependencies
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
cmp: [gcc, vs2022]
configuration: [default, static, debug, static-debug]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- name: Prepare and compile dependencies
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- cross: RTEMS-pc386-qemu@4.10
test: NO
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true
- name: Prepare and compile dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
- uses: pre-commit/action@v3.0.0
18 changes: 13 additions & 5 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
run:
working-directory: server
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
if: ${{ !matrix.container }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install
Expand All @@ -52,9 +52,9 @@ jobs:
run:
working-directory: server
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -64,4 +64,12 @@ jobs:
python -m pip install .
- name: Test with pytest
run: |
pytest --log-cli-level=DEBUG
set -o pipefail
pytest -v 2>&1 | tee pytest-output.log
- name: Upload test log
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-log
path: server/pytest-output.log
retention-days: 14
6 changes: 6 additions & 0 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools" ]
Expand Down Expand Up @@ -40,6 +40,12 @@
[tool.setuptools.package-data]
twisted = [ "plugins/recceiver_plugin.py" ]

[tool.pytest.ini_options]
log_level = "DEBUG"
filterwarnings = [
"ignore::DeprecationWarning:testcontainers",
]

[tool.ruff]
target-version = "py39"

Expand Down
Loading