Skip to content

Bringing deno-amqp up-to-date and further (#46) #144

Bringing deno-amqp up-to-date and further (#46)

Bringing deno-amqp up-to-date and further (#46) #144

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
services:
rabbitmq:
image: rabbitmq:3-management
ports:
- 5672:5672
- 15672:15672
strategy:
matrix:
os: [ubuntu-latest]
deno: [v1.x, canary]
steps:
- uses: actions/checkout@v3
- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
- name: Check formatting
run: deno fmt --check
- name: Lint
run: deno lint src/ module_test/
- name: Run unit tests
run: deno test src/
- name: Wait for rabbit
run: deno run --allow-net module_test/wait_for_server.ts
- name: Run module tests
run: deno test --allow-net module_test/