arena github actions

This commit is contained in:
burnettk 2022-11-12 22:41:43 -05:00
parent a06427482b
commit 55f5c8113e
1 changed files with 42 additions and 46 deletions

View File

@ -12,53 +12,53 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
# - { python: "3.11", os: "ubuntu-latest", session: "pre-commit" } - { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
# - { python: "3.11", os: "ubuntu-latest", session: "safety" } - { python: "3.11", os: "ubuntu-latest", session: "safety" }
# - { python: "3.11", os: "ubuntu-latest", session: "mypy" } - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" } - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" } - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { - {
python: "3.11", python: "3.11",
os: "ubuntu-latest", os: "ubuntu-latest",
session: "tests", session: "tests",
database: "mysql", database: "mysql",
} }
# - { - {
# python: "3.11", python: "3.11",
# os: "ubuntu-latest", os: "ubuntu-latest",
# session: "tests", session: "tests",
# database: "postgres", database: "postgres",
# } }
# - { - {
# python: "3.11", python: "3.11",
# os: "ubuntu-latest", os: "ubuntu-latest",
# session: "tests", session: "tests",
# database: "sqlite", database: "sqlite",
# } }
# - { - {
# python: "3.10", python: "3.10",
# os: "ubuntu-latest", os: "ubuntu-latest",
# session: "tests", session: "tests",
# database: "sqlite", database: "sqlite",
# } }
# - { - {
# python: "3.9", python: "3.9",
# os: "ubuntu-latest", os: "ubuntu-latest",
# session: "tests", session: "tests",
# database: "sqlite", database: "sqlite",
# } }
# - { - {
# python: "3.10", python: "3.10",
# os: "windows-latest", os: "windows-latest",
# session: "tests", session: "tests",
# database: "sqlite", database: "sqlite",
# } }
# - { - {
# python: "3.11", python: "3.11",
# os: "macos-latest", os: "macos-latest",
# session: "tests", session: "tests",
# database: "sqlite", database: "sqlite",
# } }
- { - {
# typeguard 2.13.3 is broken with TypeDict in 3.11. # typeguard 2.13.3 is broken with TypeDict in 3.11.
# probably the next release fixes it. # probably the next release fixes it.
@ -156,7 +156,7 @@ jobs:
- name: Upload coverage data - name: Upload coverage data
# pin to upload coverage from only one matrix entry, otherwise coverage gets confused later # 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" uses: "actions/upload-artifact@v3.0.0"
with: with:
name: coverage-data name: coverage-data
@ -231,10 +231,6 @@ jobs:
- name: Combine coverage data and display human readable report - name: Combine coverage data and display human readable report
run: | run: |
find . -name \*.pyc -delete find . -name \*.pyc -delete
echo debug
pwd
ls -ltr
ls -ltr spiffworkflow-backend
nox --force-color --session=coverage nox --force-color --session=coverage
- name: Create coverage report - name: Create coverage report