Skip to content

Commit 9b046a9

Browse files
committed
no support for python 3.7
1 parent c047b00 commit 9b046a9

File tree

1 file changed

+42
-46
lines changed

1 file changed

+42
-46
lines changed

.github/workflows/github_actions_ci.yml

+42-46
Original file line numberDiff line numberDiff line change
@@ -8,67 +8,63 @@ on:
88

99
jobs:
1010
python_unittests:
11-
1211
runs-on: ${{ matrix.os }}
1312
strategy:
1413
fail-fast: false
1514
matrix:
1615
os: [ubuntu-latest, windows-latest, macos-latest]
17-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
16+
python-version: [3.8, 3.9, "3.10", "3.11"]
1817
exclude:
1918
- os: macos-latest
2019
python-version: 3.7
2120
- os: macos-latest
2221
python-version: 3.8
2322

24-
2523
steps:
26-
- uses: actions/checkout@v2
27-
28-
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v2
30-
with:
31-
python-version: ${{ matrix.python-version }}
32-
33-
- name: Test Windows
34-
if: matrix.os == 'windows-latest'
35-
run: |
36-
python -m pip install --upgrade pip
37-
python -m pip install pytest
38-
python -m pip install -r requirements.txt
39-
python -m pytest brainspace --ignore brainspace/tests/test_plotting.py
24+
- uses: actions/checkout@v2
25+
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: ${{ matrix.python-version }}
4030

31+
- name: Test Windows
32+
if: matrix.os == 'windows-latest'
33+
run: |
34+
python -m pip install --upgrade pip
35+
python -m pip install pytest
36+
python -m pip install -r requirements.txt
37+
python -m pytest brainspace --ignore brainspace/tests/test_plotting.py
4138
42-
- name: Prepare Linux
43-
if: matrix.os == 'ubuntu-latest'
44-
run: |
45-
python3 -m pip install --upgrade pip
46-
python3 -m pip install pytest
47-
python3 -m pip install -r requirements.txt
48-
49-
- name: Test Linux
50-
if: matrix.os == 'ubuntu-latest'
51-
uses: GabrielBB/[email protected]
52-
with:
53-
options: -screen 0 1600x1200x24
54-
run: python3 -m pytest brainspace
39+
- name: Prepare Linux
40+
if: matrix.os == 'ubuntu-latest'
41+
run: |
42+
python3 -m pip install --upgrade pip
43+
python3 -m pip install pytest
44+
python3 -m pip install -r requirements.txt
5545
46+
- name: Test Linux
47+
if: matrix.os == 'ubuntu-latest'
48+
uses: GabrielBB/[email protected]
49+
with:
50+
options: -screen 0 1600x1200x24
51+
run: python3 -m pytest brainspace
5652

57-
- name: Test macOS
58-
if: matrix.os == 'macos-latest'
59-
run: |
60-
python3 -m pip install --upgrade pip
61-
python3 -m pip install pytest
62-
python3 -m pip install -r requirements.txt
63-
python3 -m pytest brainspace
53+
- name: Test macOS
54+
if: matrix.os == 'macos-latest'
55+
run: |
56+
python3 -m pip install --upgrade pip
57+
python3 -m pip install pytest
58+
python3 -m pip install -r requirements.txt
59+
python3 -m pytest brainspace
6460
65-
matlab_unittests:
66-
runs-on: ubuntu-latest
61+
matlab_unittests:
62+
runs-on: ubuntu-latest
6763
steps:
68-
- uses: actions/checkout@v2
69-
- name: Install MATLAB
70-
uses: matlab-actions/setup-matlab@v0
71-
- name: Run tests
72-
uses: matlab-actions/run-tests@v0
73-
with:
74-
source-folder: matlab
64+
- uses: actions/checkout@v2
65+
- name: Install MATLAB
66+
uses: matlab-actions/setup-matlab@v0
67+
- name: Run tests
68+
uses: matlab-actions/run-tests@v0
69+
with:
70+
source-folder: matlab

0 commit comments

Comments
 (0)