Skip to content

Commit

Permalink
[rewrite] New CI file.
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostiiWeeb committed Oct 29, 2023
1 parent 8e77bf4 commit 26b7319
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ on: [push, pull_request]

jobs:
black:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]

steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: isort/isort-action@master
with:
requirementsFiles: "requirements.txt"

- name: Run linter
- name: Run formatter
uses: psf/black@stable
with:
options: "--line-length 120 --check"
Expand Down

0 comments on commit 26b7319

Please sign in to comment.