77 name : ${{ matrix.os }} - Python ${{ matrix.python-version }}
88 strategy :
99 matrix :
10- os : [macOS-latest, ubuntu-20.04, windows-latest]
11- python-version : [3.8, 3.9, '3.10']
12- exclude :
13- - os : windows-latest
14- python-version : 3.8
10+ os : [macOS-latest, ubuntu-22.04, windows-latest]
11+ python-version : [3.9, '3.10', 3.11]
1512 fail-fast : false
1613 runs-on : ${{ matrix.os }}
1714 steps :
2623 echo "COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}" >> $GITHUB_ENV
2724 echo "MPLBACKEND=AGG" >> $GITHUB_ENV
2825 shell : bash
26+ - name : Set up Python 3.9 for Pre-Commit
27+ uses : actions/setup-python@v1
28+ with :
29+ python-version : 3.9
2930 - name : Set up Python ${{ matrix.python-version }}
3031 uses : actions/setup-python@v1
3132 with :
@@ -37,28 +38,27 @@ jobs:
3738 brew install --cask adobe-dng-converter
3839 shell : bash
3940 - name : Install Dependencies (Ubuntu)
40- if : matrix.os == 'ubuntu-20 .04'
41+ if : matrix.os == 'ubuntu-22 .04'
4142 run : |
4243 sudo apt-get update
4344 sudo apt-get --yes install dcraw exiftool
4445 shell : bash
4546 - name : Install Dependencies (Windows)
4647 if : matrix.os == 'windows-latest'
4748 run : |
48- curl -L https://exiftool.org/exiftool-12.40 .zip -o exiftool-12.40 .zip
49- unzip -d exiftool exiftool-12.40 .zip
49+ curl -L https://exiftool.org/exiftool-12.51 .zip -o exiftool-12.51 .zip
50+ unzip -d exiftool exiftool-12.51 .zip
5051 cp exiftool/exiftool\(-k\).exe exiftool/exiftool.exe
51- echo "$PWD/exiftool" >> $GITHUB_PATH
52+ echo "$PWD/exiftool" | sed -e 's/^\///' -e 's/\//\\/g' -e 's/^./\0:/' >> $GITHUB_PATH
5253 curl -L https://cdn.fastpictureviewer.com/bin/dcraw.zip?v=201605100 -o dcraw.zip
5354 unzip -d dcraw dcraw.zip
54- echo "$PWD/dcraw" >> $GITHUB_PATH
55+ echo "$PWD/dcraw" | sed -e 's/^\///' -e 's/\//\\/g' -e 's/^./\0:/' >> $GITHUB_PATH
5556 shell : bash
5657 - name : Install Adobe DNG Converter (Windows)
5758 if : matrix.os == 'windows-latest'
5859 run : |
5960 curl -L https://download.adobe.com/pub/adobe/dng/win/DNGConverter_11_4.exe -o DNGConverter_11_4.exe
6061 DNGConverter_11_4.exe /S
61- echo "C:\Program Files\Adobe\Adobe DNG Converter" >> $GITHUB_PATH
6262 shell : cmd
6363 - name : Add Adobe DNG Converter to %PATH% (Windows)
6464 if : matrix.os == 'windows-latest'
6767 shell : bash
6868 - name : Install Poetry
6969 run : |
70- curl -L https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py -o get-poetry.py
71- python get-poetry.py --version 1.1.12
70+ curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry python3 -
7271 echo "$HOME/.poetry/bin" >> $GITHUB_PATH
7372 shell : bash
7473 - name : Install Package Dependencies
0 commit comments