Skip to content

Commit

Permalink
update temporariliy github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakf committed Feb 6, 2024
1 parent 7720282 commit 86c5d56
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
- develop
- release/**
- hotfix/**
- feat/dev-583-remove-set-env-in-github-actions
- feat/DEV-1185-fix-awg-download-related-files
tags:
- "*"
- '*'

jobs:
build:
Expand All @@ -16,34 +16,34 @@ jobs:
matrix:
os:
- macos-10.15
- ubuntu-20.04
- ubuntu-16.04
- ubuntu-18.04
- windows-latest
#- ubuntu-20.04
#- ubuntu-16.04
#- ubuntu-18.04
#- windows-latest
python:
- 3.7
env:
GDC_CLIENT_ZIP: "gdc-client.zip"
GDC_CLIENT_ZIP: 'gdc-client.zip'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Run Tests
if: matrix.os != 'windows-latest'
run: |
python -m pip install --upgrade pip
pip install tox
tox -e py
- name: Package
run: |
cd bin
pip install virtualenv
. ./package
echo "GDC_CLIENT_ZIP=$GDC_CLIENT_ZIP" >> $GITHUB_ENV
shell: bash
- uses: actions/upload-artifact@v2
with:
name: ${{ env.GDC_CLIENT_ZIP }}-py${{ matrix.python }}-${{ matrix.os }}
path: bin/gdc-client_*.zip
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Run Tests
if: matrix.os != 'windows-latest'
run: |
python -m pip install --upgrade pip
pip install tox
tox -e py
- name: Package
run: |
cd bin
pip install virtualenv
. ./package
echo "GDC_CLIENT_ZIP=$GDC_CLIENT_ZIP" >> $GITHUB_ENV
shell: bash
- uses: actions/upload-artifact@v2
with:
name: ${{ env.GDC_CLIENT_ZIP }}-py${{ matrix.python }}-${{ matrix.os }}
path: bin/gdc-client_*.zip

0 comments on commit 86c5d56

Please sign in to comment.