Skip to content

Commit

Permalink
Merge pull request #50 from MilagrosMarin/main
Browse files Browse the repository at this point in the history
fix: add element's test flow
  • Loading branch information
yambottle authored Feb 14, 2025
2 parents 65270b4 + 0876d2d commit 638d597
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
py_ver: ["3.9", "3.10"]
mysql_ver: ["8.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.py_ver}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.py_ver}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 "black[jupyter]"
- name: Run style tests
run: |
python_version=${{matrix.py_ver}}
black element_lab --check --verbose --target-version py${python_version//.}
1 change: 1 addition & 0 deletions element_lab/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Package metadata."""

__version__ = "0.3.0"

0 comments on commit 638d597

Please sign in to comment.