22
33on :
44 push :
5- branches : " *"
5+ branches : [ "*"]
66 pull_request :
7- branches : master
7+ branches : [ master]
88
99jobs :
1010 linux :
@@ -13,14 +13,14 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- PY : ["3.8", "3.9", "3.10", "3.11"]
16+ PY : ["3.8", "3.9", "3.10", "3.11", "3.12" ]
1717
1818 env :
1919 CIRUN : true
2020
2121 steps :
2222 - name : Checkout
23- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
2424 with :
2525 fetch-depth : 0
2626
@@ -34,20 +34,22 @@ jobs:
3434 - name : Run Tests
3535 shell : bash -l {0}
3636 run : |
37+ pip install s3fs
38+ pip uninstall s3fs
39+ pip install -e .[test_full]
40+ pip install s3fs --no-deps
3741 pytest -v
3842
3943 win :
4044 name : pytest-win
4145 runs-on : windows-2019
42- strategy :
43- fail-fast : false
4446
4547 env :
4648 CIRUN : true
4749
4850 steps :
4951 - name : Checkout
50- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
5153 with :
5254 fetch-depth : 0
5355
5961 - name : Run Tests
6062 shell : bash -l {0}
6163 run : |
64+ pip install s3fs
65+ pip uninstall s3fs
66+ pip install -e .[test]
67+ pip install s3fs --no-deps
6268 pytest -v
6369
6470 lint :
7581# runs-on: ubuntu-latest
7682# steps:
7783# - name: Checkout
78- # uses: actions/checkout@v3
84+ # uses: actions/checkout@v4
7985#
8086# - name: Setup conda
8187# uses: mamba-org/setup-micromamba@v1
9399
94100 steps :
95101 - name : Checkout
96- uses : actions/checkout@v3
102+ uses : actions/checkout@v4
97103 with :
98104 fetch-depth : 0
99105
@@ -105,35 +111,20 @@ jobs:
105111 - name : Local install
106112 shell : bash -l {0}
107113 run : |
108- git config --global user.email "[email protected] " 109- git config --global user.name "Your Name"
110- git tag -a 3000 -m "fake"
111- pip install -e .
112-
113- - name : Clone s3fs
114- shell : bash -l {0}
115- run : git clone https://github.com/fsspec/s3fs
116-
117- - name : Install s3fs
118- shell : bash -l {0}
119- run : |
120- pip install -e ./s3fs --no-deps
114+ sh install_s3fs.sh
115+ pip install -e .[test,test_downstream]
116+ pip list
121117
122118 - name : Run fsspec tests
123119 shell : bash -l {0}
124120 run : |
125121 pytest -v fsspec/tests/test_downstream.py
126122
127- - name : clone dask
128- shell : bash -l {0}
129- run : |
130- git clone https://github.com/dask/dask
131- pip install -e ./dask
132-
133123 - name : Run dask tests
134124 shell : bash -l {0}
135125 run : |
136- pytest -v dask/dask/bytes
126+ dask_test_path=$(python -c "import dask.bytes;print(dask.bytes.__path__[0])")
127+ pytest -v $dask_test_path
137128
138129 fsspec_friends :
139130 name : ${{ matrix.FRIEND }}-pytest
@@ -151,7 +142,7 @@ jobs:
151142
152143 steps :
153144 - name : Checkout
154- uses : actions/checkout@v3
145+ uses : actions/checkout@v4
155146
156147 - name : Setup conda
157148 uses : mamba-org/setup-micromamba@v1
0 commit comments