summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-22 11:17:41 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-22 20:22:48 +0100
commit36696bfa2ccf9158f0386e872ab7bb147a57615a (patch)
treeb479b64992b235702a6c09f39a4e0e821d1c45f2 /.github
parent108062d84d69dbc6a9b351b741cd52e109066df3 (diff)
downloadqutebrowser-36696bfa2ccf9158f0386e872ab7bb147a57615a.tar.gz
qutebrowser-36696bfa2ccf9158f0386e872ab7bb147a57615a.zip
ci: Add bleeding-edge environment
Closes #6298
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bleeding.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/.github/workflows/bleeding.yml b/.github/workflows/bleeding.yml
new file mode 100644
index 000000000..7b1eae77d
--- /dev/null
+++ b/.github/workflows/bleeding.yml
@@ -0,0 +1,54 @@
+name: Bleeding-edge CI
+
+on:
+ workflow_dispatch:
+ schedule:
+ # Every Monday at 03:05 UTC
+ # https://crontab.guru/#05_03_*_*_1
+ - cron: '05 03 * * 1'
+
+jobs:
+ tests:
+ if: "github.repository == 'qutebrowser/qutebrowser'"
+ runs-on: ubuntu-20.04
+ timeout-minutes: 30
+ container:
+ image: "qutebrowser/ci:archlinux-webengine-unstable"
+ env:
+ PY_COLORS: "1"
+ DOCKER: "archlinux-webengine-unstable"
+ CI: true
+ PYTEST_ADDOPTS: "--color=yes"
+ volumes:
+ # Hardcoded because we can't use ${{ runner.temp }} here apparently.
+ - /home/runner/work/_temp/:/home/runner/work/_temp/
+ options: --privileged --tty
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up problem matchers
+ run: "python scripts/dev/ci/problemmatchers.py py3 ${{ runner.temp }}"
+ - run: tox -e bleeding
+
+ irc:
+ timeout-minutes: 2
+ continue-on-error: true
+ runs-on: ubuntu-20.04
+ needs: [tests]
+ if: "always() && github.repository == 'qutebrowser/qutebrowser'"
+ steps:
+ - name: Send success IRC notification
+ uses: Gottox/irc-message-action@v1
+ if: "needs.tests.result == 'success'"
+ with:
+ server: chat.freenode.net
+ channel: '#qutebrowser-dev'
+ nickname: qutebrowser-bot
+ message: "[${{ github.workflow }}] \u00033Success:\u0003 ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} (@${{ github.actor }})"
+ - name: Send non-success IRC notification
+ uses: Gottox/irc-message-action@v1
+ if: "needs.tests.result != 'success'"
+ with:
+ server: chat.freenode.net
+ channel: '#qutebrowser-dev'
+ nickname: qutebrowser-bot
+ message: "[${{ github.workflow }}] \u00034FAIL:\u0003 ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} (@${{ github.actor }})"