forked from mirror/prosody
75e4b05ce5
* Updated to Prosody version 0.11.11. * Updated luarocks to version 3.8.0. * .github workflow: Use actions/checkout@v2 with submodules: recursive
26 lines
478 B
YAML
26 lines
478 B
YAML
name: Test
|
|
|
|
on:
|
|
pull_request:
|
|
branches: dev
|
|
push:
|
|
branches: dev
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository and submodules
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
|
|
- 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
|