Skip to content

Remove wrong C call _go_PyType_GetName (#6) #44

Remove wrong C call _go_PyType_GetName (#6)

Remove wrong C call _go_PyType_GetName (#6) #44

Workflow file for this run

name: Test
env:
GO111MODULE: "on"
on:
push:
branches:
- master
pull_request:
jobs:
setup:
runs-on: ubuntu-latest
outputs:
go-latest-version: ${{ steps.find-go-version.outputs.go-latest-version }}
go-supported-versions: ${{ steps.find-go-version.outputs.go-supported-versions }}
steps:
- name: Checkout code
uses: nhatthm/gh-actions/checkout@master
- id: find-go-version
name: Find Go version
uses: nhatthm/gh-actions/find-go-version@master
test:
strategy:
fail-fast: false
matrix:
go-version: ${{ fromJson(needs.setup.outputs.go-supported-versions) }}
runs-on: ubuntu-latest
needs: [setup]
env:
GO_LATEST_VERSION: ${{ needs.setup.outputs.go-latest-version }}
steps:
- name: Checkout code
uses: nhatthm/gh-actions/checkout@master
- name: Setup Environment
run: |
make "$GITHUB_ENV"
- name: Install Go
uses: nhatthm/gh-actions/setup-go@master
with:
go-version: ${{ matrix.go-version }}
- name: Install Python
uses: nhatthm/gh-actions/setup-python@master
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Test
run: |
make test
- name: Upload code coverage (unit)
if: matrix.go-version == env.GO_LATEST_VERSION
uses: nhatthm/gh-actions/codecov@master
with:
files: ./unit.coverprofile
flags: unittests-${{ runner.os }}
#- name: Upload code coverage (features)
# if: matrix.go-version == env.GO_LATEST_VERSION
# uses: nhatthm/gh-actions/codecov@master
# with:
# file: ./features.coverprofile
# flags: featurestests-${{ runner.os }}