Test Conda Package #192
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 Conda Package | |
| on: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '0 0 * * *' # nightly | |
| # Required shell entrypoint to have properly configured bash shell | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| jobs: | |
| linux: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| fail-fast: false | |
| name: Linux Python ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| activate-environment: activestorage | |
| python-version: ${{ matrix.python-version }} | |
| miniforge-version: "latest" | |
| use-mamba: true | |
| - run: | | |
| conda --version | |
| mamba --version | |
| python -V | |
| - run: conda list | |
| - run: conda install pyactivestorage | |
| - run: | | |
| conda install moto | |
| conda install pytest | |
| conda install pytest-cov | |
| conda install pytest-html | |
| conda install pytest-metadata | |
| conda install pytest-xdist | |
| - run: conda list | |
| - run: pytest -n 2 -m "not slow" --ignore=tests/test_real_https.py --ignore=tests/test_real_s3.py | |
| osx: | |
| runs-on: "macos-latest" | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| fail-fast: false | |
| name: OSX Python ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| activate-environment: activestorage | |
| python-version: ${{ matrix.python-version }} | |
| miniforge-version: "latest" | |
| use-mamba: true | |
| - run: | | |
| conda --version | |
| mamba --version | |
| python -V | |
| - run: conda list | |
| - run: conda install -c conda-forge git | |
| - run: conda install pyactivestorage | |
| - run: | | |
| conda install moto | |
| conda install pytest | |
| conda install pytest-cov | |
| conda install pytest-html | |
| conda install pytest-metadata | |
| conda install pytest-xdist | |
| - run: pytest -n 2 -m "not slow" --ignore=tests/test_real_https.py --ignore=tests/test_real_s3.py |