We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6374887 commit e7f4c91Copy full SHA for e7f4c91
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: Python application
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
+ - uses: actions/checkout@v4
19
+ - name: Set up Python 3.10
20
+ uses: actions/setup-python@v3
21
+ with:
22
+ python-version: "3.10"
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install pytest
27
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28
29
+ - name: Test with pytest
30
31
+ pytest
0 commit comments