Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

CI

CI #276

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 12 * * *'
jobs:
build:
strategy:
matrix:
python:
- "3.10"
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: build
run: python3 setup.py build
- name: test
run: |
pip3 install .[dev]
pytest