Skip to content

Change README for clarity and conciseness #10

Change README for clarity and conciseness

Change README for clarity and conciseness #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: pip install pytest
- name: Download GNU Stow for oracle tests
run: |
cd tests
./get_gnu_stow_for_testing_identical_behavior.sh
- name: Run tests
run: pytest tests/ -v
test-py36:
name: Test Python 3.6
runs-on: ubuntu-latest
container: python:3.6
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
rm /etc/apt/sources.list.d/* 2>/dev/null || true
echo "deb http://archive.debian.org/debian bullseye main" > /etc/apt/sources.list
apt-get update && apt-get install -y perl make
- name: Install test dependencies
run: pip install pytest
- name: Download GNU Stow for oracle tests
run: |
cd tests
./get_gnu_stow_for_testing_identical_behavior.sh
- name: Run tests
run: pytest tests/ -v
test-py27:
name: Test Python 2.7
runs-on: ubuntu-latest
container: python:2.7
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
rm /etc/apt/sources.list.d/* 2>/dev/null || true
echo "deb http://archive.debian.org/debian buster main" > /etc/apt/sources.list
apt-get update && apt-get install -y perl make
- name: Install test dependencies
run: pip install pytest
- name: Download GNU Stow for oracle tests
run: |
cd tests
./get_gnu_stow_for_testing_identical_behavior.sh
- name: Run tests
run: pytest tests/ -v
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install flake8
run: pip install flake8
- name: Run flake8
run: flake8 bin/ tests/