Skip to content

Commit

Permalink
Make things better
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Apr 11, 2024
1 parent ca17eb0 commit 3d51900
Show file tree
Hide file tree
Showing 6 changed files with 2,872 additions and 27,710 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,34 @@ jobs:
uses: actions/setup-python@v2
- name: Run pre-commit
uses: pre-commit/[email protected]

test:
runs-on: ubuntu-latest
name: ${{ matrix.pixi-environment }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.12"
os:
- ubuntu-latest
- macOS-latest
- windows-latest
pixi-environment:
- py312
- py311
- py310
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/[email protected]
- name: Setup older Python versions
run: pixi add python=${{ matrix.python-version }}
uses: prefix-dev/[email protected]
- name: Run Tests
run: pixi run test
run: pixi run --environment ${{ matrix.pixi-environment }} test

build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.3.0
uses: prefix-dev/setup-pixi@v0.5.1
- name: Run Tests
run: pixi run test
- name: Publish Code Coverage
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ venv/
ENV/
env.bak/
venv.bak/
.pixi/

# Spyder project settings
.spyderproject
Expand All @@ -116,3 +115,8 @@ venv.bak/

# mypy
.mypy_cache/

# pixi environments
.pixi
*.egg-info

Loading

0 comments on commit 3d51900

Please sign in to comment.