2021-01-23 14:00:48 +05:30
|
|
|
name: Download Tests
|
2021-01-17 00:24:52 +05:30
|
|
|
on: [push, pull_request]
|
2021-01-07 12:11:05 +05:30
|
|
|
jobs:
|
|
|
|
tests:
|
2021-01-23 14:00:48 +05:30
|
|
|
name: Download Tests
|
2021-02-26 03:21:39 +05:30
|
|
|
if: "contains(github.event.head_commit.message, 'ci run dl')"
|
2021-01-07 12:11:05 +05:30
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: true
|
|
|
|
matrix:
|
2022-05-17 19:40:54 +05:30
|
|
|
os: [ubuntu-latest]
|
|
|
|
python-version: ['3.6', '3.7', '3.9', '3.10', 3.11-dev, pypy-3.6, pypy-3.7, pypy-3.8, pypy-3.9]
|
2021-01-07 12:11:05 +05:30
|
|
|
run-tests-ext: [sh]
|
|
|
|
include:
|
|
|
|
- os: windows-latest
|
2022-05-17 19:40:54 +05:30
|
|
|
python-version: 3.8
|
2021-01-07 12:11:05 +05:30
|
|
|
run-tests-ext: bat
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
2021-07-23 20:18:15 +05:30
|
|
|
- name: Install pytest
|
|
|
|
run: pip install pytest
|
2021-01-07 12:11:05 +05:30
|
|
|
- name: Run tests
|
2021-06-06 00:44:34 +05:30
|
|
|
continue-on-error: true
|
2021-07-23 20:18:15 +05:30
|
|
|
run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} download
|