arena github actions
This commit is contained in:
parent
3b45862b4c
commit
eb076ae832
|
@ -16,63 +16,63 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "safety" }
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
|
||||
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
|
||||
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "safety" }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
|
||||
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
|
||||
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "mysql",
|
||||
}
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "postgres",
|
||||
}
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.10",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.9",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.10",
|
||||
os: "windows-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "macos-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
# typeguard 2.13.3 is broken with TypeDict in 3.11.
|
||||
# probably the next release fixes it.
|
||||
# https://github.com/agronholm/typeguard/issues/242
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "typeguard",
|
||||
database: "sqlite",
|
||||
}
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "xdoctest" }
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "postgres",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.10",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.9",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.10",
|
||||
# os: "windows-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "macos-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# # typeguard 2.13.3 is broken with TypeDict in 3.11.
|
||||
# # probably the next release fixes it.
|
||||
# # https://github.com/agronholm/typeguard/issues/242
|
||||
# python: "3.11",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "typeguard",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "xdoctest" }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
|
||||
|
||||
env:
|
||||
NOXSESSION: ${{ matrix.session }}
|
||||
|
@ -259,6 +259,10 @@ jobs:
|
|||
- name: Combine coverage data and display human readable report
|
||||
run: |
|
||||
find . -name \*.pyc -delete
|
||||
echo debug
|
||||
pwd
|
||||
ls -ltr
|
||||
ls -ltr spiffworkflow-backend
|
||||
nox --force-color --session=coverage
|
||||
|
||||
- name: Create coverage report
|
||||
|
|
|
@ -12,53 +12,53 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "safety" }
|
||||
# - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
|
||||
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
|
||||
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "safety" }
|
||||
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
|
||||
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
|
||||
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "mysql",
|
||||
}
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "postgres",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.10",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.9",
|
||||
# os: "ubuntu-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.10",
|
||||
# os: "windows-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
# - {
|
||||
# python: "3.11",
|
||||
# os: "macos-latest",
|
||||
# session: "tests",
|
||||
# database: "sqlite",
|
||||
# }
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "postgres",
|
||||
}
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.10",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.9",
|
||||
os: "ubuntu-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.10",
|
||||
os: "windows-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
python: "3.11",
|
||||
os: "macos-latest",
|
||||
session: "tests",
|
||||
database: "sqlite",
|
||||
}
|
||||
- {
|
||||
# typeguard 2.13.3 is broken with TypeDict in 3.11.
|
||||
# probably the next release fixes it.
|
||||
|
@ -156,7 +156,7 @@ jobs:
|
|||
|
||||
- name: Upload coverage data
|
||||
# pin to upload coverage from only one matrix entry, otherwise coverage gets confused later
|
||||
if: always() && matrix.session == 'tests' && matrix.python == '3.11' && matrix.os == 'ubuntu-latest'
|
||||
if: always() && matrix.session == 'tests' && matrix.python == '3.11' && matrix.os == 'ubuntu-latest' && matrix.database == 'mysql'
|
||||
uses: "actions/upload-artifact@v3.0.0"
|
||||
with:
|
||||
name: coverage-data
|
||||
|
@ -231,10 +231,6 @@ jobs:
|
|||
- name: Combine coverage data and display human readable report
|
||||
run: |
|
||||
find . -name \*.pyc -delete
|
||||
echo debug
|
||||
pwd
|
||||
ls -ltr
|
||||
ls -ltr spiffworkflow-backend
|
||||
nox --force-color --session=coverage
|
||||
|
||||
- name: Create coverage report
|
||||
|
|
Loading…
Reference in New Issue