Use native shell commands in CI
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-02-01 21:02:08 +00:00
parent f3e5f15d75
commit 9791c40d0c

View File

@@ -9,24 +9,23 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 run: git checkout ${{ github.sha }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 run: |
with: apt-get update && apt-get install -y python3 python3-pip
python-version: '3.11'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python3 -m pip install --upgrade pip
pip install -e ".[dev]" pip install -e ".[dev]"
- name: Run tests - name: Run tests
run: python -m pytest tests/ -v --tb=short run: python3 -m pytest tests/ -v --tb=short
- name: Run ruff linting - name: Run ruff linting
run: pip install ruff && ruff check src/confgen/ tests/ run: |
pip install ruff
ruff check src/confgen/ tests/