Skip to content

Commit e5b3857

Browse files
Merge pull request #612 from robertmartin8/v1.5.6
V1.5.6
2 parents 2940519 + 7257dda commit e5b3857

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+26363
-18273
lines changed

.github/workflows/codecov.yml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
name: codecov
22
on:
3-
pull_request:
4-
push:
5-
branches:
6-
- master
3+
pull_request:
4+
push:
5+
branches:
6+
- master
77

88
jobs:
9-
codecov:
10-
name: py${{ matrix.python-version }} on ${{ matrix.os }}
11-
runs-on: ${{ matrix.os }}
12-
env:
13-
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
17-
python-version: ["3.12"]
18-
steps:
19-
- uses: actions/checkout@v3
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
22-
with:
23-
python-version: ${{ matrix.python-version }}
24-
cache: 'pip'
25-
- name: Install dependencies
26-
run: |
27-
pip install -r requirements.txt
28-
- name: Generate coverage report
29-
run: |
30-
pip install pytest pytest-cov
31-
pytest --cov=./ --cov-report=xml
32-
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v3
34-
with:
35-
files: ./coverage.xml
36-
fail_ci_if_error: true
9+
codecov:
10+
name: py${{ matrix.python-version }} on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
env:
13+
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, macos-latest, windows-latest]
17+
python-version: ["3.12"]
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
cache: "pip"
25+
- name: Install dependencies
26+
run: |
27+
pip install -r requirements.txt
28+
pip install ecos
29+
- name: Generate coverage report
30+
run: |
31+
pip install pytest pytest-cov
32+
pytest --cov=./ --cov-report=xml
33+
- name: Upload coverage to Codecov
34+
uses: codecov/codecov-action@v3
35+
with:
36+
files: ./coverage.xml
37+
fail_ci_if_error: true

.github/workflows/main.yml

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,42 @@ name: pytest
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: ["master"]
99
pull_request:
10-
branches: [ "master" ]
10+
branches: ["master"]
1111

1212
jobs:
13-
pytest:
14-
name: py${{ matrix.python-version }} on ${{ matrix.os }}
15-
runs-on: ${{ matrix.os }}
16-
env:
17-
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
18-
strategy:
19-
matrix:
20-
os: [ubuntu-latest, macos-latest, windows-latest]
21-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
22-
exclude:
23-
- os: macos-latest
24-
python-version: "3.8"
25-
steps:
26-
- uses: actions/checkout@v3
27-
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v4
29-
with:
30-
python-version: ${{ matrix.python-version }}
31-
cache: 'pip'
32-
- name: Install dependencies
33-
run: |
34-
pip install -r requirements.txt
35-
pip install pytest isort black flake8
36-
- name: Test with pytest
37-
run: |
38-
pytest ./tests
39-
- name: Check with isort
40-
run: |
41-
isort --check --diff .
42-
- name: Check with black
43-
run: |
44-
black --check --diff .
45-
- name: Check with flake8
46-
run: |
47-
flake8 --show-source --statistics .
13+
pytest:
14+
name: py${{ matrix.python-version }} on ${{ matrix.os }}
15+
runs-on: ${{ matrix.os }}
16+
env:
17+
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest, macos-latest, windows-latest]
21+
python-version: ["3.9", "3.10", "3.11", "3.12"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
cache: "pip"
30+
- name: Install dependencies
31+
run: |
32+
pip install -r requirements.txt
33+
pip install pytest isort black flake8
34+
pip install ecos
35+
- name: Test with pytest
36+
run: |
37+
pytest ./tests
38+
- name: Check with isort
39+
run: |
40+
isort --check --diff .
41+
- name: Check with black
42+
run: |
43+
black --check --diff .
44+
- name: Check with flake8
45+
run: |
46+
flake8 --show-source --statistics .

0 commit comments

Comments
 (0)