34 lines
886 B
YAML
34 lines
886 B
YAML
|
name: Python 3.8 Tests
|
||
|
on:
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
testPy38:
|
||
|
name: ut-${{ matrix.config.tox-env }}-${{ matrix.os }}
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
os: [ubuntu-latest, macos-latest]
|
||
|
config:
|
||
|
- { python-version: 3.8, tox-env: py38}
|
||
|
- { python-version: 3.8, tox-env: py38-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"
|