Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default approvers
* @transferwise/analytics-platform
19 changes: 11 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.12"]

runs-on: ubuntu-latest
Comment thread
amofakhar marked this conversation as resolved.

steps:
- name: Checking out repo
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -39,36 +39,39 @@ jobs:
run: coverage run --parallel -m pytest

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v7
with:
name: coverage-data
path: ".coverage.*"
include-hidden-files: true
if-no-files-found: error

coverage:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out the repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.12"

- name: Install and upgrade dependencies
run: |
python -m pip install -U pip setuptools wheel
python3 -m pip install -U .[dev]

- name: Download coverage data
uses: actions/download-artifact@v3.0.0
uses: actions/download-artifact@v4
with:
name: coverage-data

- name: Combine coverage data
run: |
coverage combine
coverage combine .coverage.*
coverage report

- name: Generate XML coverage report
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.7
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.1.0
with:
python-version: '3.x'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
Loading
Loading