From e07a7efcc48736d11cd8f0ee06506c633fe25671 Mon Sep 17 00:00:00 2001 From: Sameh Abouel-saad Date: Fri, 25 Dec 2020 20:44:02 +0200 Subject: [PATCH 1/2] Update jsng-ci.yml using setup-python to configure multiple versions of Python to be used in the workflows --- .github/workflows/jsng-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jsng-ci.yml b/.github/workflows/jsng-ci.yml index 8c0cd704b..13d64b359 100644 --- a/.github/workflows/jsng-ci.yml +++ b/.github/workflows/jsng-ci.yml @@ -12,8 +12,15 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} - name: Gathering deps run: | sudo apt-get update From e8e65c642fff402462112c40ba9074a5606884a0 Mon Sep 17 00:00:00 2001 From: Sameh Abouel-saad Date: Fri, 25 Dec 2020 21:23:30 +0200 Subject: [PATCH 2/2] Update jsng-ci.yml discard pip3 and venv from deps as they both included in python3 since 3.3 and 3.4 and we don't need to test on python versions older than 3.4 --- .github/workflows/jsng-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jsng-ci.yml b/.github/workflows/jsng-ci.yml index 13d64b359..17c2288e9 100644 --- a/.github/workflows/jsng-ci.yml +++ b/.github/workflows/jsng-ci.yml @@ -24,7 +24,7 @@ jobs: - name: Gathering deps run: | sudo apt-get update - sudo apt-get install -y git python3-pip python3-venv python3-setuptools tmux redis + sudo apt-get install -y git python3-setuptools tmux redis sudo pip3 install poetry - name: Install run: |