Skip to content

Commit

Permalink
[.github/workflows/main.yml] Python 3.6 workaround (supports Linux on…
Browse files Browse the repository at this point in the history
…ly until my issue is resolved actions/setup-python#544 )
  • Loading branch information
SamuelMarks committed Nov 22, 2022
1 parent ec85ae8 commit b6c61ee
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,30 @@ on:
- reopened

jobs:
test_3_6:
name: Linux 3.6
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.6
uses: actions/setup-python@v4
with:
python-version: 3.6
architecture: x64
- name: install_dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
pip install -r requirements.txt
- name: Test with unittest
run: |
python setup.py test
test:
name: ${{ matrix.os.name }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os.runs-on }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
os:
- name: Linux
runs-on: ubuntu-latest
Expand Down

0 comments on commit b6c61ee

Please sign in to comment.