Skip to content

Commit

Permalink
added testing wf
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtfa committed Dec 3, 2024
1 parent f816ee7 commit 253adb1
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
59 changes: 59 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Run pytest tests
on:
push:
branches:
- main
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+\.dev[0-9]+'
- 'v[0-9]+\.[0-9]+\.[0-9]+'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: read
checks: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
test_environment: [testpy311np1pd21, testpy311np1pd22, testpy311np1pd-latest, testpy311np2pd22, testpy311np2pd-latest, testpy312np1pd21, testpy312np1pd22, testpy312np1pd-latest, testpy312np2pd22, testpy312np2pd-latest]
steps:
- uses: actions/checkout@v4
with:
lfs: false
- uses: prefix-dev/[email protected]
with:
pixi-version: latest
cache: true
locked: false
frozen: false
environments: ${{ matrix.test_environment }}
- run: pixi run -e ${{ matrix.test_environment }} test
- name: Coveralls
uses: coverallsapp/github-action@v2
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: latest
cache: true
locked: false
frozen: false
- run: pixi run lint_ci
type_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: latest
cache: true
locked: false
frozen: false
- run: pixi run -e mne check_types

0 comments on commit 253adb1

Please sign in to comment.