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 eb8c7b4 commit bed182aCopy full SHA for bed182a
.github/workflows/pipeline.yaml
@@ -0,0 +1,33 @@
1
+name: Tech Report API Pipeline
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'main'
7
+ - 'feature**'
8
+ delete:
9
10
11
12
+# env:
13
+# PIPELINE_USER_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
14
15
+jobs:
16
+ test:
17
+ if: github.event_name == 'push'
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set up Python 3.10
22
+ uses: actions/setup-python@v3
23
+ with:
24
+ python-version: "3.10"
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ python -m pip install pytest
29
+ if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
30
+ - name: Test with pytest
31
32
+ python -m pytest -W "ignore"
33
0 commit comments