Skip to content

Commit 8995d33

Browse files
committed
ci: use activeMQ
1 parent 5c8a958 commit 8995d33

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,19 @@ jobs:
3131
virtualenvs-in-project: false
3232
virtualenvs-path: ~/.virtualenvs
3333
installer-parallel: true
34-
- name: Install Packages and Binaries
35-
run: |
36-
sudo apt-get update
37-
sudo apt-get -y install default-jre wget
38-
wget https://repo1.maven.org/maven2/com/rabbitmq/amqp-client/5.25.0/amqp-client-5.25.0.jar -P jars/
39-
- name: Start RabbitMQ
40-
uses: namoshek/rabbitmq-github-action@v1
34+
35+
- name: Set up Java
36+
uses: actions/setup-java@v2
4137
with:
42-
ports: '1883:1883 8883:8883'
43-
container-name: 'mqtt'
38+
java-version: '11'
39+
- name: Download ActiveMQ
40+
run: wget https://archive.apache.org/dist/activemq/5.16.3/apache-activemq-5.16.3-bin.tar.gz
41+
- name: Extract ActiveMQ
42+
run: tar -xzf apache-activemq-5.16.3-bin.tar.gz
43+
- name: Start ActiveMQ
44+
run: apache-activemq-5.16.3/bin/activemq start
45+
- name: Verify ActiveMQ is running
46+
run: curl http://localhost:8161
4447
- name: Install dependencies
4548
run: |
4649
poetry install

0 commit comments

Comments
 (0)