2020-10-30 16:47:05 +00:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: dev
|
|
|
|
push:
|
|
|
|
branches: dev
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-12-23 15:01:53 +00:00
|
|
|
- name: Checkout repository and submodules
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
2020-10-30 16:47:05 +00:00
|
|
|
|
|
|
|
- name: install python3-venv
|
|
|
|
run: sudo apt-get install python3-venv
|
|
|
|
|
|
|
|
- name: build test image
|
|
|
|
run: docker build . -t prosody
|
|
|
|
|
|
|
|
- name: run tests
|
|
|
|
run: cd ./tests/ && ./test.bash
|