mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-04-19 16:01:14 +00:00
wip tests test.YML13
This commit is contained in:
parent
11e414d913
commit
bc0b3fe066
2 changed files with 3 additions and 14 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
@ -9,23 +9,10 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: archlinux:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: pacman -Syu --noconfirm docker docker-compose python sudo
|
||||
|
||||
- name: Status timezone
|
||||
run: timedatectl status
|
||||
|
||||
- name: list timezones
|
||||
run: timedatectl list-timezones
|
||||
|
||||
- name: Set timezone
|
||||
run: timedatectl set-timezone Europe/Berlin
|
||||
|
||||
- name: build test image
|
||||
run: docker build . -t prosody
|
||||
|
||||
|
|
|
@ -32,8 +32,10 @@ sudo docker-compose down \
|
|||
&& sudo docker exec tests_prosody_1 /bin/bash -c "/entrypoint.sh register user3 localhost 12345678" \
|
||||
\
|
||||
&& python --version \
|
||||
&& python -m venv venv \
|
||||
&& python3 --version \
|
||||
&& python3 -m venv venv \
|
||||
&& source venv/bin/activate \
|
||||
&& python --version \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pytest \
|
||||
&& deactivate \
|
||||
|
|
Loading…
Reference in a new issue