From d03176e273e115e35cbc149d4fcea163c50890c8 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Thu, 10 Oct 2024 17:03:34 +0000 Subject: [PATCH] fix node js version --- .github/workflows/testactivities.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testactivities.yml b/.github/workflows/testactivities.yml index 80fac3fb22..66d511a149 100644 --- a/.github/workflows/testactivities.yml +++ b/.github/workflows/testactivities.yml @@ -8,15 +8,17 @@ on: jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.9, '3.10', '3.11'] steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip setuptools @@ -26,4 +28,4 @@ jobs: python tests/jsonParser.py - name: Test with pyshacl run: | - reproschema -l DEBUG validate activities + reproschema -l DEBUG validate activities \ No newline at end of file