Skip to content

Commit

Permalink
Added github action ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Attumm committed May 13, 2024
1 parent c67f24d commit 205be4f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"

permissions:
contents: read

jobs:
build:
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Run Pylama
run: |
pylama * -i E501
# - name: Run MyPy strict
# run: |
# mypy --strict
- name: Run Unit Tests
run: |
python -m unittest discover

0 comments on commit 205be4f

Please sign in to comment.