mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
setup tests
This commit is contained in:
12
.github/workflows/test.yml
vendored
Normal file
12
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: build docker image and run tests inside
|
||||
on: push
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v2
|
||||
- name: Start
|
||||
run: docker-compose -f test.yml up -d
|
||||
- name: Tests
|
||||
run: docker-compose -f test.yml run --entrypoint "" tests python -m unittest
|
||||
Reference in New Issue
Block a user