Skip to content

Commit

Permalink
Merge pull request #9 from sopel-irc/meta-modernize-packaging
Browse files Browse the repository at this point in the history
meta: modernize the project and its packaging
  • Loading branch information
Exirel authored Apr 27, 2024
2 parents 2e121ad + 3b9c0d9 commit d2315ef
Show file tree
Hide file tree
Showing 10 changed files with 585 additions and 357 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: CI

on:
push:
branches:
- master
- v[0-9]+.[0-9]+.x
pull_request:
branches:
- master
- v[0-9]+.[0-9]+.x

jobs:
tests:
if: ${{ github.repository_owner == 'sopel-irc' }}
name: Quality & Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel
python -m pip install --upgrade -r requirements.txt
python -m pip install -e .
- name: Lint
run: make lint
- name: Tests
run: make test
Loading

0 comments on commit d2315ef

Please sign in to comment.