mirror of
https://github.com/kc1awv/rrcd.git
synced 2026-05-05 16:49:08 -07:00
initial commit
This commit is contained in:
38
.github/workflows/ci.yml
vendored
Normal file
38
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.11", "3.12"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -e ".[dev]"
|
||||
|
||||
- name: Lint (ruff)
|
||||
run: |
|
||||
ruff check .
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
python -m compileall rrcd
|
||||
|
||||
- name: Tests (pytest)
|
||||
run: |
|
||||
pytest -q
|
||||
Reference in New Issue
Block a user