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 2223ae5 commit 3b2b328Copy full SHA for 3b2b328
.github/workflows/validate.yml
@@ -0,0 +1,36 @@
1
+name: Validate
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - dev
8
+ - dajusto/add-gh-actions-tests
9
+ pull_request:
10
11
12
13
14
15
+jobs:
16
+ validate:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout repository
20
+ uses: actions/checkout@v2
21
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v2
24
+ with:
25
+ python-version: 3.9
26
+ - name: Install dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install -r requirements.txt
30
+ - name: Run Linter
31
32
+ cd azure
33
+ flake8 . --count --show-source --statistics
34
+ - name: Run tests
35
36
+ pytest
0 commit comments