Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,19 @@ jobs:
if [ "${{ github.event.client_payload }}" != "" ]; then
echo "matrix=[ '${{ github.event.client_payload.tag }}' ]" >> $GITHUB_OUTPUT;
else
echo "matrix=[ 'v0.15.2', 'v0.16.2', '' ]" >> $GITHUB_OUTPUT;
echo "matrix=[ 'v0.15.2', 'v0.16.3', 'v0.17.0', '' ]" >> $GITHUB_OUTPUT;
fi
build-and-test:
needs: prepare
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
python: [ { ver: '3.9', env: 'py39' }, { ver: '3.10', env: 'py310' }, { ver: '3.11', env: 'py311' } ]
python:
- { ver: '3.9', env: 'py39' }
- { ver: '3.10', env: 'py310' }
- { ver: '3.11', env: 'py311' }
- { ver: '3.12', env: 'py312' }
rnp: ${{ fromJson(needs.prepare.outputs.matrix) }}

runs-on: ${{ matrix.os }}
Expand All @@ -77,7 +81,7 @@ jobs:
echo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV

- name: Checkout rnp
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: rnpgp/rnp
path: rnp
Expand All @@ -94,7 +98,7 @@ jobs:
run: sudo cmake --install rnp/build

- name: Checkout py-rnp
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
virtualenvs-in-project: true

- id: cached-poetry-dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__pycache__/
.tox/
.vscode/
poetry.lock
Loading