Skip to content

Change git url and git config to fix CI failure #165

Change git url and git config to fix CI failure

Change git url and git config to fix CI failure #165

Workflow file for this run

name: Python tests
on:
push:
branches:
- master
tags:
pull_request:
branches:
- master
env:
DEBIAN_FRONTEND: noninteractive
TOX_VERSION: 3.23.0
jobs:
py38:
name: py38
runs-on: ubuntu-latest
container:
# python:3.8-buster has git>=2.20 which actions/checkout@v2 requires
image: python:3.8-buster
steps:
- name: Configure git
shell: bash
run: |
git config --global --add safe.directory $(pwd)
- uses: actions/checkout@v2
- name: Set up Python
run: |
pip3 install tox==${{ env.TOX_VERSION }}
- name: Run pytest
run: |
tox