We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a38255 commit dc73bc3Copy full SHA for dc73bc3
1 file changed
.github/workflows/python.yml
@@ -0,0 +1,14 @@
1
+name: CI
2
+on: [push,pull_request]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v3
8
+ - name: Set up Python
9
+ uses: actions/setup-python@v5
10
+ with:
11
+ python-version: '3.x'
12
+ - run: |
13
+ if [ -f requirements.txt ]; then pip install -r requirements.txt || true; fi
14
+ if [ -d "${REPO_NAME}-tests" ]; then pip install pytest || true; pytest -q || true; fi
0 commit comments