-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 1.01 KB
/
unittest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow is used to run the unittest of pyiron
name: Unittests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.11']
include:
- operating-system: ubuntu-latest
python-version: '3.10'
- operating-system: ubuntu-latest
python-version: '3.9'
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge
channel-priority: strict
auto-update-conda: true
environment-file: .ci_support/environment.yml
miniforge-variant: Mambaforge
- name: Test
shell: bash -l {0}
timeout-minutes: 30
run: coverage run --omit gmailsorter/_version.py -m unittest discover tests