merge sort (#32) #85
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Algorithms CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| permissions: | |
| contents: read # Read access to the repository content (e.g., to fetch code) | |
| actions: read # Read access to workflow actions | |
| env: | |
| PYTHON_VERSION: '3.12' # Set Python version as a global environment variable | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python environment | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Upgrade pip | |
| run: python -m pip install --upgrade pip | |
| - name: Install Dependencies | |
| run: make install | |
| - name: Run Unit Tests | |
| run: make test |