File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Regular Integration Tests
2
+
3
+ on :
4
+ schedule :
5
+ # * is a special character in YAML so you have to quote this string
6
+ - cron : ' 0 0 */7 * *'
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Set up Python 3.12
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : 3.12
20
+
21
+ - name : Install poetry 2.1.1
22
+ run : |
23
+ python -m ensurepip
24
+ python -m pip install --upgrade pip
25
+ python -m pip install poetry==2.1.1
26
+
27
+ - name : Install dependencies
28
+ shell : bash
29
+ run : python -m poetry install
30
+
31
+ - name : Test with pytest
32
+ env :
33
+ USERNAME : ${{ secrets.PICNIC_USERNAME }}
34
+ PASSWORD : ${{ secrets.PICNIC_PASSWORD }}
35
+ COUNTRY_CODE : ${{ secrets.PICNIC_COUNTRY_CODE }}
36
+ run : |
37
+ python -m poetry run python -m pytest -v integration_tests
38
+
You can’t perform that action at this time.
0 commit comments