2023-12-29 15:50:29 +01:00
|
|
|
name: Python check requirements.txt
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2024-03-02 06:11:06 +01:00
|
|
|
- '.github/workflows/python-check-requirements.yml'
|
2023-12-29 15:50:29 +01:00
|
|
|
- 'scripts/check-requirements.sh'
|
|
|
|
- 'convert*.py'
|
|
|
|
- 'requirements.txt'
|
|
|
|
- 'requirements/*.txt'
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2024-03-02 06:11:06 +01:00
|
|
|
- '.github/workflows/python-check-requirements.yml'
|
2023-12-29 15:50:29 +01:00
|
|
|
- 'scripts/check-requirements.sh'
|
|
|
|
- 'convert*.py'
|
|
|
|
- 'requirements.txt'
|
|
|
|
- 'requirements/*.txt'
|
|
|
|
|
2024-03-22 18:15:06 +01:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-12-29 15:50:29 +01:00
|
|
|
jobs:
|
|
|
|
python-check-requirements:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: check-requirements
|
|
|
|
steps:
|
|
|
|
- name: Check out source repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python environment
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: "3.11"
|
|
|
|
- name: Run check-requirements.sh script
|
2024-03-02 06:11:06 +01:00
|
|
|
run: bash scripts/check-requirements.sh
|