Skip to content

Enable locally running CI tests #197

Enable locally running CI tests

Enable locally running CI tests #197

Workflow file for this run

name: pytests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: "true"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Run tests with pytest
run: |
export GLOCI_REGISTRY_USERNAME="gardenlinux"
export GLOCI_REGISTRY_TOKEN="invalid"
make test
poetry run pytest -k "not kms"