Merge pull request #1575 from turkhuu622/patch-1 #2181
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: Test | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5.2.0 | |
| with: | |
| python-version: '3.8' | |
| - name: Set up C++ | |
| run: | | |
| sudo apt install -y --no-install-recommends build-essential | |
| g++ --version | |
| - name: Run algorithm code tests | |
| run: | | |
| ./test.sh | |
| working-directory: test |