Use the copy-data extension for cp_file when the server supports it #1127
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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| schedule: | |
| - cron: '5 1 * * *' | |
| workflow_dispatch: | |
| name: Tests | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| pyv: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.pyv }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install -r requirements-dev.txt | |
| python -m pip install -e . | |
| - name: Test | |
| # Leave room for faulthandler_timeout (60s) to dump stacks and for | |
| # asyncssh's login_timeout (120s) to raise before the step is killed. | |
| timeout-minutes: 3 | |
| run: >- | |
| python -m pytest --cov-report=xml --cov=. | |
| --reruns 1 --reruns-delay 2 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: ./coverage.xml | |
| fail_ci_if_error: false |