feat/teamsync-reposition #5

Open
renkar wants to merge 68 commits from renkar/tipibot:feat/teamsync-reposition into master
Showing only changes of commit 8884cce9b5 - Show all commits

View File

@@ -1,12 +1,27 @@
name: Deploy
name: Test & Deploy
on:
push:
branches: [master]
jobs:
test:
runs-on: linux
steps:
- name: Run test suite
run: |
REPO=$(git -C ~/tipibot remote get-url origin)
rm -rf /tmp/tipibot-ci
git clone --quiet "$REPO" /tmp/tipibot-ci
cd /tmp/tipibot-ci
git checkout --quiet ${{ github.sha }}
python3 -m venv .venv
.venv/bin/pip install -q -r requirements-dev.txt
.venv/bin/python -m pytest tests/ -q
deploy:
runs-on: linux
needs: test
steps:
- name: Deploy
run: |