Skip to content

ci: renamed doc as docs, disabled docs and test #74

ci: renamed doc as docs, disabled docs and test

ci: renamed doc as docs, disabled docs and test #74

Workflow file for this run

name: 'test'
on:
push:
pull_request:
schedule: # Run once a week to ensure tests pass with updated dependencies
- cron: '0 0 * * 6'
.jobs:
test:
strategy:
matrix:
os: ['ubuntu']
pyver: ['3.6', '3.7', '3.8', '3.9', '3.10']
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os }} | ${{ matrix.pyver }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Pull container images
run: |
docker pull hdlc/ghdl:yosys
docker pull hdlc/nextpnr:ice40
docker pull hdlc/nextpnr:ecp5
docker pull hdlc/icestorm
docker pull hdlc/prjtrellis
- name: Set up Python ${{ matrix.pyver }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.pyver }}
- name: Install dependencies
run: |
pip install pytest
pip install .
- name: Run test
run: pytest
- name: Run examples
run: |
cd examples; make MOCKS=1