From a6f5b1216b6bdb492bf764c8391b4c5f20838424 Mon Sep 17 00:00:00 2001 From: Timon Pike Date: Wed, 1 Nov 2023 10:06:47 -0700 Subject: [PATCH] testing python unit tests in github actions --- .github/workflows/unit_tests.yml | 94 ++++++++++++++++---------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index f690326598..7a8da85193 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -82,51 +82,51 @@ jobs: - name: Test Python run: pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests - unit-test-go: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Python - id: setup-python - uses: actions/setup-python@v2 - with: - python-version: "3.8" - - name: Upgrade pip version - run: | - pip install --upgrade "pip>=22.1,<23" - - name: Setup Go - id: setup-go - uses: actions/setup-go@v2 - with: - go-version: 1.19.7 - - name: Install apache-arrow on ubuntu - run: | - sudo apt update - sudo apt install -y -V ca-certificates lsb-release wget - wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb - sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb - sudo apt update - sudo apt install -y -V "libarrow-dev=11.0.0-1" - sudo apt install -y -V pkg-config - - name: Test - run: make test-go +# unit-test-go: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: Setup Python +# id: setup-python +# uses: actions/setup-python@v2 +# with: +# python-version: "3.8" +# - name: Upgrade pip version +# run: | +# pip install --upgrade "pip>=22.1,<23" +# - name: Setup Go +# id: setup-go +# uses: actions/setup-go@v2 +# with: +# go-version: 1.19.7 +# - name: Install apache-arrow on ubuntu +# run: | +# sudo apt update +# sudo apt install -y -V ca-certificates lsb-release wget +# wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb +# sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb +# sudo apt update +# sudo apt install -y -V "libarrow-dev=11.0.0-1" +# sudo apt install -y -V pkg-config +# - name: Test +# run: make test-go - unit-test-ui: - runs-on: ubuntu-latest - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: "17.x" - registry-url: "https://registry.npmjs.org" - - name: Install yarn dependencies - working-directory: ./ui - run: yarn install - - name: Build yarn rollup - working-directory: ./ui - run: yarn build:lib - - name: Run yarn tests - working-directory: ./ui - run: yarn test --watchAll=false +# unit-test-ui: +# runs-on: ubuntu-latest +# env: +# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} +# steps: +# - uses: actions/checkout@v2 +# - uses: actions/setup-node@v2 +# with: +# node-version: "17.x" +# registry-url: "https://registry.npmjs.org" +# - name: Install yarn dependencies +# working-directory: ./ui +# run: yarn install +# - name: Build yarn rollup +# working-directory: ./ui +# run: yarn build:lib +# - name: Run yarn tests +# working-directory: ./ui +# run: yarn test --watchAll=false