We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa5e9b commit 221e7e7Copy full SHA for 221e7e7
.github/workflows/python-app.yml
@@ -0,0 +1,33 @@
1
+name: Python CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Set up Python 3.10
22
+ uses: actions/setup-python@v3
23
+ with:
24
+ python-version: "3.10"
25
26
+ - name: Install dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30
31
+ - name: Run tests
32
33
+ python -m unittest discover -s test -p "*.py"
requirements.txt
@@ -0,0 +1 @@
+torch
0 commit comments