Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
dfbbfe4
1
Parent(s):
12ca228
Will check the dependencies
Browse files
.github/workflows/check_requirements.yml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Check requirements
|
| 2 |
+
|
| 3 |
+
on: [push, pull_request]
|
| 4 |
+
|
| 5 |
+
jobs:
|
| 6 |
+
check_requirements:
|
| 7 |
+
runs-on: ubuntu-latest
|
| 8 |
+
|
| 9 |
+
strategy:
|
| 10 |
+
matrix:
|
| 11 |
+
python-version: [">=3.9"]
|
| 12 |
+
|
| 13 |
+
steps:
|
| 14 |
+
- name: Checkout code
|
| 15 |
+
uses: actions/checkout@v2
|
| 16 |
+
|
| 17 |
+
- name: Set up Python environment
|
| 18 |
+
uses: actions/setup-python@v2
|
| 19 |
+
with:
|
| 20 |
+
python-version: ${{ matrix.python-version }}
|
| 21 |
+
|
| 22 |
+
- name: Install dependencies
|
| 23 |
+
run: pip install -r requirements.txt
|
| 24 |
+
|
| 25 |
+
- name: Check for conflicting libraries
|
| 26 |
+
run: pip check
|