Skip to content

Merge pull request #325 from MiraGeoscience/GEOPY-2619 #1423

Merge pull request #325 from MiraGeoscience/GEOPY-2619

Merge pull request #325 from MiraGeoscience/GEOPY-2619 #1423

name: Python analysis
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
push:
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
call-workflow-static-analysis:
name: Static analysis
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@v2
permissions:
contents: read
pull-requests: read
with:
package-manager: 'conda'
app-name: 'simpeg_drivers'
python-version: '3.10'
call-workflow-pytest:
name: Pytest
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@v2
permissions:
contents: read
pull-requests: read
with:
package-manager: 'conda'
python-versions: '["3.10", "3.11", "3.12"]'
os: '["ubuntu-latest", "windows-latest"]'
cache-number: 1
codecov-reference-python-version: '3.10'
codecov-reference-os: '["ubuntu-latest"]'
timeout-minutes: 40
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}