Skip to content

Bump idna from 2.10 to 3.7 #71

Bump idna from 2.10 to 3.7

Bump idna from 2.10 to 3.7 #71

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Run tests
strategy:
matrix:
os:
- ubuntu-20.04
dc:
- dmd-2.101.2
- ldc-1.30.0
python-version:
- '3.10'
- '3.9'
- '3.8'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install package dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install -y -qq libclang-10-dev clang
- name: Install D compiler
# must go before setting LD_LIBRARY_PATH for Python since this overrides it
uses: dlang-community/setup-dlang@v1.3.0
with:
compiler: ${{ matrix.dc }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Python env vars
run: |
echo "PYTHON_INCLUDE_DIR=${{ env.pythonLocation }}/include/python${{ matrix.python-version }}" >> $GITHUB_ENV
echo "PYTHON_LIB_DIR=${{ env.pythonLocation }}/lib" >> $GITHUB_ENV
echo "PYD_LIBPYTHON_DIR=${{ env.pythonLocation }}/lib" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ env.pythonLocation }}/lib" >> $GITHUB_ENV
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# - name: Install dotnet
# run: |
# wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
# sudo dpkg -i packages-microsoft-prod.deb
# sudo apt-get install apt-transport-https
# sudo apt-get update
# sudo apt-get install dotnet-sdk-2.1
- name: Run tests
shell: bash
run: ci/test-all.sh
env:
PYD_LIBPYTHON: python${{ matrix.python-version }}
LD_RUN_PATH: $PYTHON_LIB_DIR
LIBRARY_PATH: /usr/lib/llvm-10/lib
- uses: codecov/codecov-action@v3