Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.8]
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}}
steps:
- uses: actions/[email protected]
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
files: "coverage.xml"
- name: Upload coverage from test to Codecov
uses: codecov/[email protected]
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7'
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'
with:
file: coverage.xml
flags: ${{ steps.test.outputs.codecov_flag }}
Expand All @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.8]
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix-oldproto)}}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
files: "coverage.xml"
- name: Upload coverage from test to Codecov
uses: codecov/codecov-action@v2
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7'
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'
with:
file: coverage.xml
flags: ${{ steps.test.outputs.codecov_flag }}
Expand Down
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -70,10 +70,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- id: file_changes
uses: Ana06/[email protected]
- name: check black
Expand All @@ -89,11 +89,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
if: ${{ !github.event.pull_request.head.repo.fork }}
with:
python-version: 3.7
python-version: 3.8
- name: Styling
id: styling
if: ${{ !github.event.pull_request.head.repo.fork }}
Expand Down Expand Up @@ -124,12 +124,15 @@ jobs:

import-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-env: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/[email protected]
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: ${{ matrix.python-env }}
- name: Prepare enviroment
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -160,7 +163,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.8]
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}}
steps:
- uses: actions/[email protected]
Expand Down Expand Up @@ -197,7 +200,7 @@ jobs:
files: "coverage.xml"
- name: Upload coverage from test to Codecov
uses: codecov/[email protected]
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7'
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'
with:
file: coverage.xml
flags: ${{ steps.test.outputs.codecov_flag }}
Expand All @@ -210,7 +213,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.8]
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix-oldproto)}}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -248,7 +251,7 @@ jobs:
files: "coverage.xml"
- name: Upload coverage from test to Codecov
uses: codecov/codecov-action@v2
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7'
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'
with:
file: coverage.xml
flags: ${{ steps.test.outputs.codecov_flag }}
Expand Down