We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95020ab commit f6d9054Copy full SHA for f6d9054
1 file changed
.github/workflows/install-test.yml
@@ -0,0 +1,35 @@
1
+name: Python Install and Test
2
+
3
+on:
4
+ push:
5
+ branches: [ '\d+.x' ]
6
+ pull_request:
7
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch:
10
11
+jobs:
12
+ install-test:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v3
18
+ with:
19
+ fetch-depth: 0
20
21
+ # Set up Python
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v2
24
25
+ python-version: '3.9'
26
27
+ # Install dependencies
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
33
+ # Run tests
34
+ - name: Run tests
35
+ run: pytest
0 commit comments