Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
egeakman committed Jul 26, 2023
1 parent 167e64c commit da7eee5
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,56 @@ jobs:
python-version: ["3.10", "3.11", "3.12.0-beta.4"]

steps:
- name: Checkout code
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install tree (only macOS)
- name: Install tree (macOS)
if: matrix.os == 'macos-latest'
run: brew install tree

- name: Install tree (Windows)
if: matrix.os == 'windows-latest'
run: Install-Module PSScriptTools -scope CurrentUser -force

- name: Install tree (Linux)
if: matrix.os == 'ubuntu-latest'
run: sudo apt install tree

- name: Install the package
run: pip install .

- name: Run the package
run: bootstrapper tr -b 3.12

- name: See results
shell: bash
- name: See results (non-Windows)
if: matrix.os != 'windows-latest'
run: |
cd python-docs-tr
tree . -L 2
echo "================================"
echo "Check if everything is OK (clean paths, correct syntax)"
echo "================================"
cat about.po
echo "================================"
echo "Check if everything is OK (clean paths, correct syntax)"
echo "================================"
cat library/functions.po
- name: See results (Windows)
if: matrix.os == 'windows-latest'
run: |
cd python-docs-tr
Show-Tree . -Depth 2 -ShowItem
echo "================================"
echo "Check if everything is OK (clean paths, correct syntax)"
echo "================================"
cat about.po
echo "================================"
echo "Check if everything is OK (clean paths, correct syntax)"
echo "================================"
cat library/functions.po

0 comments on commit da7eee5

Please sign in to comment.