From 21ce72a141bb80b8d1dbc5b296b28a96815c2bc7 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 24 Feb 2021 13:42:24 +0100 Subject: [PATCH] workflows: Add Sopel --- .github/workflows/sopel.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/sopel.yml diff --git a/.github/workflows/sopel.yml b/.github/workflows/sopel.yml new file mode 100644 index 0000000..d17227d --- /dev/null +++ b/.github/workflows/sopel.yml @@ -0,0 +1,37 @@ +name: irctest with Sopel + +on: + push: + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v2 + + - name: Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: | + ~/.cache + key: ${{ runner.os }}-sopel + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest sopel==7.0.7 -r requirements.txt + + - name: Test with pytest + run: | + PATH=~/.local/bin:$PATH pytest --controller=irctest.controllers.sopel -k "not testPlainNotAvailable" + +