Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand tests to cover latest Python, and cocotb master #33

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,33 @@ jobs:
fail-fast: false
matrix:
include:
# Test against the oldest supported version of Python.
- sim: icarus
sim-version: apt
lang: verilog
python-version: 3.6
python-version: "3.6"
os: ubuntu-20.04
cocotb-version: cocotb # Current release version
- sim: icarus
sim-version: apt
lang: verilog
python-version: "3.6"
os: ubuntu-20.04
cocotb-version: "git+https://github.com/cocotb/cocotb.git@master#egg=cocotb"

# Test against the newest supported version of Python.
- sim: icarus
sim-version: apt
lang: verilog
python-version: "3.10"
os: ubuntu-20.04
cocotb-version: cocotb # Current release version
- sim: icarus
sim-version: apt
lang: verilog
python-version: "3.10"
os: ubuntu-20.04
cocotb-version: "git+https://github.com/cocotb/cocotb.git@master#egg=cocotb"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -43,6 +65,11 @@ jobs:
sudo apt install -y iverilog
- name: Install testing requirements
run: |
# Explicitly install a version of cocotb instead of relying on the
# dependency cocotb-bus declares to test against different cocotb
# versions.
pip install ${{matrix.cocotb-version}}

pip install nox
- name: Run tests
continue-on-error: ${{matrix.may_fail || false}}
Expand Down