20 lines
453 B
YAML
20 lines
453 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Repo audit
|
|
run: |
|
|
bash scripts/audit.sh
|
|
- name: Build and run tests via Docker
|
|
run: |
|
|
docker compose -f docker/compose.yml up --build --abort-on-container-exit --remove-orphans
|
|
docker compose -f docker/compose.yml down -v --remove-orphans
|