1717 strategy :
1818 fail-fast : false
1919 matrix :
20- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+ # python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
21+ python-version : ["3.8"]
2122
2223 services :
2324 redis :
7071 - run : make test
7172 - run : make test
7273 - run : make test
73- - run : make test
74- - run : make test
7574
7675 - name : Verify typehints
7776 run : make lint
@@ -91,61 +90,61 @@ jobs:
9190 test_service_port : 9000
9291 token : ${{ secrets.GITHUB_TOKEN }}
9392
94- windows :
95- runs-on : windows-latest
96-
97- defaults :
98- run :
99- shell : powershell
100-
101- strategy :
102- fail-fast : false
103- matrix :
104- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
105-
106- steps :
107- - uses : actions/checkout@v4
108- - name : Set up Python ${{ matrix.python-version }}
109- uses : actions/setup-python@v4
110- with :
111- python-version : ${{ matrix.python-version }}
112-
113- - name : Setup DynamoDB
114- run : |
115- $ProgressPreference = "SilentlyContinue"
116- iwr -outf dynamo.zip https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip
117- mkdir dynamo
118- Expand-Archive -Path dynamo.zip -DestinationPath dynamo
119- cd dynamo
120- cmd /c "START /b java -Djava.library.path=./DynamoDBLocal_lib -jar ./DynamoDBLocal.jar"
121-
122- - name : Setup Consul
123- run : |
124- $ProgressPreference = "SilentlyContinue"
125- iwr -outf consul.zip https://releases.hashicorp.com/consul/1.4.2/consul_1.4.2_windows_amd64.zip
126- mkdir consul
127- Expand-Archive -Path consul.zip -DestinationPath consul
128- cd consul
129- sc.exe create "Consul" binPath="$(Get-Location)/consul.exe agent -dev"
130- sc.exe start "Consul"
131-
132- - name : Setup Redis
133- run : |
134- $ProgressPreference = "SilentlyContinue"
135- iwr -outf redis.zip https://github.com/MicrosoftArchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip
136- mkdir redis
137- Expand-Archive -Path redis.zip -DestinationPath redis
138- cd redis
139- ./redis-server --service-install
140- ./redis-server --service-start
141- Start-Sleep -s 5
142- ./redis-cli ping
143-
144- - name : Install poetry
145- uses : abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
146-
147- - name : Install requirements
148- run : poetry install --all-extras
149-
150- - name : Run tests
151- run : make test
93+ # windows:
94+ # runs-on: windows-latest
95+ #
96+ # defaults:
97+ # run:
98+ # shell: powershell
99+ #
100+ # strategy:
101+ # fail-fast: false
102+ # matrix:
103+ # python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
104+ #
105+ # steps:
106+ # - uses: actions/checkout@v4
107+ # - name: Set up Python ${{ matrix.python-version }}
108+ # uses: actions/setup-python@v4
109+ # with:
110+ # python-version: ${{ matrix.python-version }}
111+ #
112+ # - name: Setup DynamoDB
113+ # run: |
114+ # $ProgressPreference = "SilentlyContinue"
115+ # iwr -outf dynamo.zip https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip
116+ # mkdir dynamo
117+ # Expand-Archive -Path dynamo.zip -DestinationPath dynamo
118+ # cd dynamo
119+ # cmd /c "START /b java -Djava.library.path=./DynamoDBLocal_lib -jar ./DynamoDBLocal.jar"
120+ #
121+ # - name: Setup Consul
122+ # run: |
123+ # $ProgressPreference = "SilentlyContinue"
124+ # iwr -outf consul.zip https://releases.hashicorp.com/consul/1.4.2/consul_1.4.2_windows_amd64.zip
125+ # mkdir consul
126+ # Expand-Archive -Path consul.zip -DestinationPath consul
127+ # cd consul
128+ # sc.exe create "Consul" binPath="$(Get-Location)/consul.exe agent -dev"
129+ # sc.exe start "Consul"
130+ #
131+ # - name: Setup Redis
132+ # run: |
133+ # $ProgressPreference = "SilentlyContinue"
134+ # iwr -outf redis.zip https://github.com/MicrosoftArchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip
135+ # mkdir redis
136+ # Expand-Archive -Path redis.zip -DestinationPath redis
137+ # cd redis
138+ # ./redis-server --service-install
139+ # ./redis-server --service-start
140+ # Start-Sleep -s 5
141+ # ./redis-cli ping
142+ #
143+ # - name: Install poetry
144+ # uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
145+ #
146+ # - name: Install requirements
147+ # run: poetry install --all-extras
148+ #
149+ # - name: Run tests
150+ # run: make test
0 commit comments