Updated packages #1754
Workflow file for this run
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: Keiko Run the unit tests | |
on: | |
push: | |
branches: | |
- "main" | |
- "release-*" | |
tags: | |
- "*" | |
paths: | |
- keiko/** | |
- .github/workflows/keiko_test.yml | |
pull_request: | |
paths: | |
- keiko/** | |
- .github/workflows/keiko_test.yml | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["3.10", "3.11"] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.version }} | |
cache: "pip" # caching pip dependencies | |
- name: Install Latex | |
run: | | |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \ | |
chktex \ | |
fonts-recommended \ | |
latexmk \ | |
texlive-fonts-recommended \ | |
texlive-lang-european \ | |
texlive-latex-base \ | |
texlive-latex-extra \ | |
texlive-latex-recommended \ | |
texlive-xetex | |
- name: Install requirements-dev.txt | |
run: pip install -r requirements-dev.txt | |
working-directory: ./keiko | |
- name: Create writeable directory for reports (edge case for GitHub Actions) | |
run: mkdir -p /tmp/keiko/reports && chmod -R 700 /tmp/keiko/reports | |
- name: Run unit tests | |
run: make test | |
working-directory: ./keiko | |
env: | |
KEIKO_REPORTS_FOLDER: /tmp/keiko/reports |