Skip to content

upload test results

upload test results #3

Workflow file for this run

name: check
on:
push:
# branches:
# - main
pull_request:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tools
run: |
python -m pip install --upgrade pip setuptools wheel pipenv
- name: Install virtualenv using Pipenv
run: |
pipenv --python ${{ matrix.python-version }} sync --dev
- name: Run linters
run: |
pipenv run make lint
- name: Install jobrunner
run: |
pipenv run make install
- name: Run tests
run: |
pipenv run make RESULTS=test-results-${{ matrix.python-version }}.xml check
- name: Publish results
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: pytest-results-${{ matrix.python-version }}
path: junit/test-results-${{ matrix.python-version }}.xml