Skip to content

Commit

Permalink
ci: reduce amount of platforms to run tests on
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatsuDev committed Sep 5, 2024
1 parent 4a0200c commit 14be446
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Unit Tests

on:
push:
pull_request:
branches:
- master
push:

jobs:
validate:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
os: ["ubuntu-latest", "windows-latest", "macOS-latest"]
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -25,7 +26,7 @@ jobs:
key: pip_cache
- name: Install depencency
run: |
pip install gql gql[aiohttp] gql[websockets] graphql-core asyncio-atexit pytest
pip install gql gql[aiohttp] gql[websockets] graphql-core asyncio-atexit pytest pytest-timeout
- name: Pytest
run: |
python -m pytest tests

0 comments on commit 14be446

Please sign in to comment.