fix unkown ram type #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run-tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [ '3.9', '3.10', '3.11', '3.12' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python version ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install dev dependencies | |
run: | | |
sudo apt install build-essential libdbus-1-dev | |
pip install -r requirements-dev.txt | |
#- name: Install dev dependencies | |
# run: | | |
# # Add Docker's official GPG key: | |
# sudo apt-get update | |
# sudo apt-get install ca-certificates curl | |
# sudo install -m 0755 -d /etc/apt/keyrings | |
# sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
# sudo chmod a+r /etc/apt/keyrings/docker.asc | |
# # Add the repository to Apt sources: | |
# echo \ | |
# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ | |
# $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ | |
# sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
# sudo apt-get update | |
# sudo apt install build-essential libpython3-dev libdbus-1-dev docker-ce docker-ce-cli containerd.io docker-compose-plugin | |
# pip install -r requirements-dev.txt | |
#- name: Set up local development Tarallo instance | |
# run: | | |
# git clone https://github.com/weee-open/tarallo | |
# cd tarallo || exit | |
# docker-compose() { docker compose "$@"; } # tarallo's makefile has the older deprecated docker-compose command | |
# export -f docker-compose | |
# make ci | |
# make up | |
# cd - &> /dev/null | |
#- name: Run tests | |
# uses: coactions/setup-xvfb@v1 | |
# with: | |
# run: pytest -vv tests | |
- name: Run tests | |
run: pytest -vv tests -m "not gui" |