Skip to content

Test Conda Package #193

Test Conda Package

Test Conda Package #193

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