Skip to content

Commit

Permalink
Fix pip dependencies script for python 3.11 & add python versions tes…
Browse files Browse the repository at this point in the history
…ts (#117)
  • Loading branch information
sverdlov93 authored Nov 13, 2022
1 parent 4a1ad93 commit b9b8798
Show file tree
Hide file tree
Showing 4 changed files with 680 additions and 627 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
name: Tests

on: [ push, pull_request ]

# Ensures that only the latest commit is running for each PR at a time.
# Ignores this rule for push events.
concurrency:
group: ${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
unit-test:
name: ${{ matrix.os }}, node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}, node ${{ matrix.node }} , python ${{ matrix.python }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
node: [ 14, 16.9, 16 ]
os: [ ubuntu, windows, macOS ]
node: [ 14, 16, 16.9 ]
include:
- node: "14"
python: "3.8"
- node: "16"
python: "3.9"
- node: "16.9"
python: "3.x"

steps:
- uses: actions/checkout@v3

Expand All @@ -22,7 +34,7 @@ jobs:
- name: Setup Python3
uses: actions/setup-python@v4
with:
python-version: "3.x"
python-version: ${{ matrix.python }}

- name: Setup Pipenv
run: pip3 install pipenv
Expand All @@ -44,4 +56,4 @@ jobs:
run: go vet ./...

- name: Tests
run: go test -v -race -timeout 0 -cover ./...
run: go test -v -race -timeout 0 -cover ./...
Loading

0 comments on commit b9b8798

Please sign in to comment.