Add entries to .dockerignore #23
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: Python package | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.14"] | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: "3.14" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements-dev.txt | |
| python -m pip install -e . | |
| - name: Lint with ruff | |
| run: ruff check . --output-format=github | |
| - name: Run tests | |
| run: pytest tests/ -v --cov asyncutils --cov-report xml --local-badge-output-dir badges/ --local-badge-generate cov status | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5.5.3 | |
| with: | |
| disable_search: true | |
| files: ./coverage.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| token: ${{secrets.CODECOV_TOKEN}} | |
| - uses: conda-incubator/setup-miniconda@v3.3.0 | |
| with: | |
| auto-update-conda: true | |
| python-version: ${{matrix.python-version}} | |
| - name: Test conda install | |
| run: conda install conda-forge::py-asyncutils python=3.14 --dry-run |