Upgrade to Python 3.12 to match Open Libary + Fix linting CI #278
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: openlibrary_tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
openlibrary_tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.12"] | |
runs-on: ubuntu-latest | |
steps: | |
# - if: "contains(matrix.python-version, '-dev')" | |
# run: sudo apt-get install -y libxml2 libxslt-dev | |
- name: Checkout Open Library | |
uses: actions/checkout@v3 | |
with: | |
repository: internetarchive/openlibrary | |
- name: Checkout current Infogami | |
uses: actions/checkout@v3 | |
with: | |
path: vendor/infogami | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install -r requirements_test.txt | |
- run: make test-py |