4669036f45
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com> Co-authored-by: Ryu juheon <saidbysolo@gmail.com>
36 lines
1016 B
YAML
36 lines
1016 B
YAML
name: Python 3.7 Tests
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- "*LTS"
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
testPy37:
|
|
if: github.event.pull_request.draft == false
|
|
name: ut-${{ matrix.config.tox-env }}-${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
# os: [ubuntu-latest, macos-latest]
|
|
os: [ubuntu-latest]
|
|
config:
|
|
- { python-version: 3.7, tox-env: py37 }
|
|
- { python-version: 3.7, tox-env: py37-no-ext }
|
|
steps:
|
|
- name: Checkout the Repository
|
|
uses: actions/checkout@v2
|
|
id: checkout-branch
|
|
|
|
- name: Run Unit Tests
|
|
uses: harshanarayana/custom-actions@main
|
|
with:
|
|
python-version: ${{ matrix.config.python-version }}
|
|
test-infra-tool: tox
|
|
test-infra-version: latest
|
|
action: tests
|
|
test-additional-args: "-e=${{ matrix.config.tox-env }}"
|
|
test-failure-retry: "3"
|