Skip to content

Commit

Permalink
github_CI_workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperNapierski committed Sep 14, 2023
1 parent 615830b commit 984f7b1
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: 'install graphenex'
run: python3 -m pip install graphenex

- name: "python import issue workaround"
run: sed -i '/Mapping/s/collections/collections.abc/' ~/.local/lib/python3.10/site-packages/prompt_toolkit/styles/from_dict.py

- name: 'run graphenex'
run: python -m graphenex

Expand All @@ -56,15 +59,6 @@ jobs:
- name: 'flake8 python linter'
uses: py-actions/flake8@v2

graphenex_actions_linux:
name: "Actions on graphenex linux"
runs-on: ubuntu-latest
needs: setup_linux

steps:
- name: 'run graphenex'
run: python -m graphenex



setup_windows:
Expand All @@ -86,6 +80,10 @@ jobs:
- name: 'install graphenex'
run: python3 -m pip install graphenex

- name: 'python import issue workaround'
shell: pwsh
run: (Get-Content C:\Python310\Lib\site-packages\prompt_toolkit\styles\from_dict.py) -Replace 'from collections import Mapping', 'from collections.abc import Mapping' | Set-Content C:\Python310\Lib\site-packages\prompt_toolkit\styles\from_dict.py

- name: 'run graphenex'
run: graphenex

Expand All @@ -100,12 +98,5 @@ jobs:
- name: 'flake8 python linter'
uses: py-actions/flake8@v2

graphenex_actions_windows:
name: "Actions on graphenex windows"
runs-on: windows-latest
needs: setup_windows
steps:
- name: 'run graphenex'
run: graphenex


0 comments on commit 984f7b1

Please sign in to comment.