From f862473969a4df7c1f671adc4d17e1350f535d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 6 May 2020 16:19:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Github=20action=20to=20regularly?= =?UTF-8?q?=20install=20under=20py2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We want to know when the installation starts to fail --- .github/workflows/test_install_py2.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test_install_py2.yml diff --git a/.github/workflows/test_install_py2.yml b/.github/workflows/test_install_py2.yml new file mode 100644 index 000000000..0dab9e717 --- /dev/null +++ b/.github/workflows/test_install_py2.yml @@ -0,0 +1,33 @@ +name: Test install on Python 2 + +on: + push: + repository_dispatch: + types: [test_install_py2] + schedule: + - cron: '0 */12 * * *' + +jobs: + install-master: + runs-on: ubuntu-latest + steps: + - name: 🐍 Set up Python 2.7 + uses: actions/setup-python@v2 + with: + python-version: 2.7 + - name: ⬇ Checkout code + uses: actions/checkout@v2 + - name: 👷 Build and install checkout + run: | + pip install .[develop, plugins] + + install-latest: + runs-on: ubuntu-latest + steps: + - name: 🐍 Set up Python 2.7 + uses: actions/setup-python@v2 + with: + python-version: 2.7 + - name: 👷 Build and install latest from PyPI + run: | + pip install OctoPrint