try macos 11 with fixed github actions #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- develop | |
- release/** | |
- hotfix/** | |
- feat/try-macos-11 | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-11 | |
python: | |
- 3.7 | |
env: | |
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 |