Skip to content

Commit

Permalink
Filter s3 rather than ABS
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Feb 15, 2024
1 parent 43e6aaf commit a14734a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
run: |
# Skip ABS on 3.9, see https://github.com/zarr-developers/zarr-python/pull/1542/#issuecomment-1945557365 etc.
if [[ "${{ matrix.python-version }}" == '3.9' ]]; then
echo "ZARR_TEST_ABS=0" >> "$GITHUB_ENV"
FILTER='-k "not 'test_s3'"
else
echo "ZARR_TEST_ABS=1" >> "$GITHUB_ENV"
FILTER=''
fi
conda activate zarr-env
mkdir ~/blob_emulator
azurite -l ~/blob_emulator --debug debug.log 2>&1 > stdouterr.log &
pytest --cov=zarr --cov-config=pyproject.toml --doctest-plus --cov-report xml --cov=./ --timeout=300
pytest --cov=zarr --cov-config=pyproject.toml --doctest-plus --cov-report xml --cov=./ --timeout=300 ${FILTER}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
run: |
# Skip ABS on 3.9, see https://github.com/zarr-developers/zarr-python/pull/1542/#issuecomment-1945557365 etc.
if [[ "${{ matrix.python-version }}" == '3.9' ]]; then
echo "ZARR_TEST_ABS=0" >> "$GITHUB_ENV"
FILTER='-k "not 'test_s3'"
else
echo "ZARR_TEST_ABS=1" >> "$GITHUB_ENV"
FILTER=''
fi
conda activate zarr-env
mkdir ~/blob_emulator
azurite -l ~/blob_emulator --debug debug.log 2>&1 > stdouterr.log &
pytest -sv --timeout=300
pytest -sv --timeout=300 ${FILTER}
env:
ZARR_V3_EXPERIMENTAL_API: 1
ZARR_V3_SHARDING: 1
Expand Down

0 comments on commit a14734a

Please sign in to comment.