name: CI on: push: branches: ["*"] pull_request: branches: [master] jobs: linux: name: ${{ matrix.PY }}-pytest runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: PY: - "3.10" - "3.11" - "3.12" - "3.13" - "3.14" env: CIRUN: true steps: - name: Checkout uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup conda uses: conda-incubator/setup-miniconda@v3 with: environment-file: ci/environment-linux.yml python-version: ${{ matrix.PY }} - name: Run Tests shell: bash -l {0} run: | pip install -e .[test_full] pytest -v win: name: pytest-win runs-on: windows-2022 env: CIRUN: true steps: - name: Checkout uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup conda uses: conda-incubator/setup-miniconda@v3 with: environment-file: ci/environment-win.yml - name: Run Tests shell: bash -l {0} run: | pip install -e .[test] pytest -v lint: name: lint runs-on: ubuntu-24.04 steps: - uses: actions/checkout@main - uses: actions/setup-python@main with: python-version: "3.11" - uses: pre-commit/action@main downstream: name: downstream runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup conda uses: conda-incubator/setup-miniconda@v3 with: environment-file: ci/environment-downstream.yml - name: Local install shell: bash -l {0} run: | sh install_s3fs.sh pip install -e .[test,test_downstream] pip list - name: Run fsspec tests shell: bash -l {0} run: | pytest -v fsspec/tests/test_downstream.py - name: Run dask tests shell: bash -l {0} run: | dask_test_path=$(python -c "import dask.bytes;print(dask.bytes.__path__[0])") pytest -v $dask_test_path fsspec_friends: name: ${{ matrix.FRIEND }}-pytest runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: FRIEND: [s3fs, gcsfs] env: CIRUN: true BOTO_CONFIG: /dev/null AWS_ACCESS_KEY_ID: foobar_key AWS_SECRET_ACCESS_KEY: foobar_secret steps: - name: Checkout uses: actions/checkout@v5 - name: Setup conda uses: conda-incubator/setup-miniconda@v3 with: environment-file: ci/environment-friends.yml - name: Clone shell: bash -l {0} run: git clone https://github.com/fsspec/${{ matrix.FRIEND }} - name: Install shell: bash -l {0} run: | pip install -e . --no-deps pip list - name: Test shell: bash -l {0} run: | cd ${{ matrix.FRIEND }} pytest -v -W ignore::pytest.PytestRemovedIn9Warning cd ..