Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pip dependencies script for python 3.11 & add python versions tests #117

Merged
merged 3 commits into from
Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,40 @@
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

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.18.x
sverdlov93 marked this conversation as resolved.
Show resolved Hide resolved

- 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