Skip to content

Commit 102809e

Browse files
committed
Re-use system_test workflow
1 parent d3cd892 commit 102809e

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

.github/workflows/_system_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
run: blueapi -c ${{ github.workspace }}/tests/system_tests/config.yaml serve &
5151

5252
- name: Run tests
53-
run: tox -e system-test
53+
run: uv run --frozen tox -e system-test

.github/workflows/ci.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,7 @@ jobs:
4343
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4444

4545
system-test:
46-
runs-on: ubuntu-latest
47-
48-
steps:
49-
- name: Checkout
50-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
51-
with:
52-
# Need this to get version number from last tag
53-
fetch-depth: 0
54-
- name: Setup project
55-
uses: ./.github/actions/install_requirements
56-
with:
57-
python-version: 3.12
58-
59-
- name: Start RabbitMQ
60-
uses: namoshek/rabbitmq-github-action@d1d4455f4a8f72db66111c24cb0dc5654047a975 # v1
61-
with:
62-
ports: "61613:61613"
63-
plugins: rabbitmq_stomp
64-
65-
- name: Start Blueapi Server
66-
run: uv run --frozen blueapi -c ${{ github.workspace }}/tests/unit_tests/example_yaml/valid_stomp_config.yaml serve &
67-
68-
- name: Run tests
69-
run: uv run --frozen tox -e system-test
46+
uses: ./.github/workflows/_system.test.yml
7047

7148
container:
7249
needs: [test, system-test]

0 commit comments

Comments
 (0)