2021-04-06 21:32:01 +01:00
|
|
|
name: Python 3.8 Tests
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-01-06 07:55:03 +00:00
|
|
|
- "*LTS"
|
2021-12-05 22:05:07 +00:00
|
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
2021-04-06 21:32:01 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
testPy38:
|
2021-12-05 22:05:07 +00:00
|
|
|
if: github.event.pull_request.draft == false
|
2021-04-06 21:32:01 +01:00
|
|
|
name: ut-${{ matrix.config.tox-env }}-${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
2021-10-27 09:55:34 +01:00
|
|
|
fail-fast: true
|
2021-04-06 21:32:01 +01:00
|
|
|
matrix:
|
2021-06-01 08:23:52 +01:00
|
|
|
# os: [ubuntu-latest, macos-latest]
|
|
|
|
os: [ubuntu-latest]
|
2021-04-06 21:32:01 +01:00
|
|
|
config:
|
2021-06-01 08:23:52 +01:00
|
|
|
- { python-version: 3.8, tox-env: py38 }
|
|
|
|
- { python-version: 3.8, tox-env: py38-no-ext }
|
2021-04-06 21:32:01 +01:00
|
|
|
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 }}"
|
2021-06-01 08:23:52 +01:00
|
|
|
test-failure-retry: "3"
|