fix: add .DS_Store to gitignore #54
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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test-local: | |
| name: "Tests locaux (sans API)" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install deps (Linux) | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y jq ffmpeg | |
| - name: Install deps (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install bash ffmpeg jq | |
| - name: Run tests | |
| run: ./tests/run_tests.sh | |
| test-api: | |
| name: "Tests API (traduction)" | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install deps | |
| run: sudo apt-get update && sudo apt-get install -y jq ffmpeg | |
| - name: Run tests with API keys | |
| env: | |
| ZAI_API_KEY: ${{ secrets.ZAI_API_KEY }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} | |
| GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
| run: ./tests/run_tests.sh | |
| shellcheck: | |
| name: "Shellcheck" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run shellcheck | |
| run: shellcheck -x -S warning subtool.sh |