Skip to content

Update all_permutations.py #104

Update all_permutations.py

Update all_permutations.py #104

Workflow file for this run

name: Test workflow
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository (full history)
uses: actions/checkout@v2
with:
fetch-depth: 0 # ← fetch all branches and commits
- name: Ensure master/main exist locally
run: |
# Try to fetch both master and main so that one of them is guaranteed to exist
git fetch origin master:master || true
git fetch origin main:main || true
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install CMake and Make
run: sudo apt-get update && sudo apt-get install -y cmake make
- name: Run tests
run: |
chmod +x run_tests.sh
./run_tests.sh