Skip to content

Commit d5705d0

Browse files
committed
Merge GitHub workflows from development
1 parent 8aa8872 commit d5705d0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- run: pytest --cov=yoti_python_sdk yoti_python_sdk/tests --cov-report=xml:coverage-reports/coverage-new.xml
2828

29-
- run: sed -i 's+<source>.*</source>+<source>/home/travis/build/getyoti/yoti-python-sdk/yoti_python_sdk</source>+g' coverage-reports/coverage-new.xml
29+
- run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage-reports/coverage-new.xml
3030

3131
- uses: sonarsource/sonarcloud-github-action@master
3232
env:

.github/workflows/tests.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, "3.10-dev"]
16+
python-version: [3.7, 3.8, 3.9, "3.10"]
1717

1818
steps:
1919
- uses: actions/checkout@v2
2020

21-
- uses: actions/setup-python@v2.1.4
21+
- uses: actions/setup-python@v2.3.1
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

@@ -40,14 +40,16 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v2
4242

43-
- uses: actions/[email protected]
43+
- uses: actions/[email protected]
44+
with:
45+
python-version: 3.9
4446

45-
- run: pip install -U setuptools==45
47+
- run: pip install --upgrade setuptools
4648

4749
- run: pushd examples/aml && pip install -r requirements.txt && popd
4850

49-
- run: pushd examples/yoti_example_django && pip install -r requirements.txt && popd
50-
51+
- run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd
52+
5153
- run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd
52-
54+
5355
- run: pushd examples/doc_scan && pip install -r requirements.txt && popd

0 commit comments

Comments
 (0)