-
Notifications
You must be signed in to change notification settings - Fork 8
33 lines (30 loc) · 1.13 KB
/
run-tests-py36.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Tests on Py3.6
# Python 3.6 is not officially supported, but this tests allow us
# to trigger a test on 3.6 manually, just to see if it still works
on:
workflow_dispatch: {}
jobs:
run_tests_on_py36:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ["3.6"]
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install Dependencies mannually for Py3.6
# Install dependencies manually as pyproject.toml is not supported in Python 3.6
# caching dependencies requires Python 3.8+, skipping it for Python 3.6
run: pip install httpx importlib-metadata pandas pytest pytest-asyncio
- run: pwd
- name: Run Tests
# since we cannot install packages directly from source in Py<3.7, we will use biothings_client
# directly from the current working directory
run: pytest tests