diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a299e60..57d15b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/tests/test.bash b/tests/test.bash index 127cb4d..2fe2df3 100755 --- a/tests/test.bash +++ b/tests/test.bash @@ -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 \