mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-22 18:04:49 +00:00
35 lines
678 B
YAML
35 lines
678 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- alpha
|
|
- beta
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Docker Compose
|
|
run: |
|
|
python3 -m pip install docker-compose --upgrade
|
|
|
|
- name: Build
|
|
env:
|
|
ENV: test
|
|
IMAGE_TAG: test
|
|
run: |
|
|
export ENV=test
|
|
docker-compose -f build.docker-compose.yml build
|
|
|
|
- name: Run Test
|
|
env:
|
|
ENV: test
|
|
IMAGE_TAG: test
|
|
run: |
|
|
export ENV=test
|
|
docker-compose run --rm --entrypoint="npm run test" maestro
|