Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Commit

Permalink
[CI] Add checks for compatibility with common sopel plugins (#380)
Browse files Browse the repository at this point in the history
* Create compatible.yml

* Create compatibility.txt

* Update compatible.yml

* Update compatibility.txt

* Update compatible.yml

* Update compatible.yml

* Update compatibility.txt

* [CI] [Compat] remove 3.10

* Update compatibility.txt

* Update compatibility.txt

surskitt/sopel-birthdays#7

* Update compatibility.txt

surskitt/sopel-lastfm#2

* Update compatibility.txt

* Update compatibility.txt

* Update compatible.yml

* Fix wheel

* Update compatible.yml
  • Loading branch information
RhinosF1 committed Dec 27, 2020
1 parent c39bb2a commit 151c980
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/compatible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.8-dev', '3.9', '3.9-dev']
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Python ${{ matrix.python }} Compatibility Checks on ${{ matrix.os }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install packages
run: |
python -m pip install --upgrade pip
pip install --upgrade wheel
pip install .
pip install -r compatibility.txt
- name: Show python version and show package
run: |
python --version
sopel --version
pip show MirahezeBot-Plugins
- name: Check compatibility
run: |
pip check
- name: Run pip freeze and pipdeptree
run: |
pip freeze
pipdeptree
11 changes: 11 additions & 0 deletions compatibility.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sopel-help==0.1.0
sopel-modules.quotes==1.2.1
sopel-modules.twitter==0.3.2
sopel-modules.weather==1.2.2
sopel-modules.youtube==0.4.0
sopel-modules.stocks==1.1.2
sopel-modules.chanlogs==0.2.1
sopel-modules.github==0.4.0
sopel-modules.wolfram==0.5.0
sopel-modules.urban==1.1.0
pipdeptree==2.0.0

0 comments on commit 151c980

Please sign in to comment.