Skip to content

use previous py3.8 shared object for py3.10 + simplify workflow #145

use previous py3.8 shared object for py3.10 + simplify workflow

use previous py3.8 shared object for py3.10 + simplify workflow #145

name: Python package tests
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
container-name:
- almalinux:9
container:
image: ${{ matrix.container-name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install prerequisites
run: dnf install -y git
- name: Install Torque
run: |
dnf install -y epel-release
dnf install -y torque torque-client torque-devel torque-drmaa torque-mom torque-server torque-scheduler
- name: Upgrade pip and install dependencies
run: |
python3.10 -m pip install ".[all]"
- name: Unit tests
run: |
python3.10 -m unittest discover --verbose --catch --start-directory tests/unit