Skip to content

Commit

Permalink
Update tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
Leseratte10 committed Sep 3, 2023
1 parent cbc4c7e commit 4d52b34
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,21 @@ jobs:
calibre-plugin.zip
calibre-migration-plugin.zip
test-python3:
test-python-versions:
runs-on: ubuntu-20.04
container: python:${{ matrix.python-version }}
strategy:
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install python requirements
run: pip install -r ./.github/workflows/ci_test_requirements.txt
- name: Run tests
run: |
cd tests && python --version && PYTHONWARNINGS=ignore python ./main.py
test-python2:
runs-on: ubuntu-20.04
container: python:2.7
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-rc"]
steps:
- uses: actions/checkout@v3

- name: Install python requirements
run: pip install -r ./.github/workflows/ci_test_requirements.txt

- name: Run tests
run: |
cd tests && python --version && PYTHONWARNINGS=ignore python ./main.py
cd tests && python --version && PYTHONWARNINGS=ignore python ./main.py
test-ubuntu-2004:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 4d52b34

Please sign in to comment.