Skip to content

Commit

Permalink
add verify_extra action
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Mar 17, 2024
1 parent 12c5b16 commit a5855bb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/verify_extra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Verify extra packages

on:
push:
paths:
- 'src/requirements_extra.txt'
- '.github/workflows/verify_extra.yml'

jobs:
verify:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.11', '3.12'] # last 3 minor versions

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python }}'

- name: Verify Installability
run: |
python3 -m pip install -U pip
pip3 install -r src/requirements_extra.txt
echo "# Installation Summary (python ${{matrix.python}}" >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY
pip3 freeze >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY

0 comments on commit a5855bb

Please sign in to comment.