Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update matrix os & python-version of CI workflow #263

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,22 @@ jobs:
- os: ubuntu-latest
python-version: 3.9
- os: macos-latest
python-version: 3.7
python-version: 3.9
- os: windows-latest
python-version: 3.9

runs-on: ${{ matrix.os }}
env:
# Tell Roberto to upload coverage results
# Tell Roberto to upload coverage results.
ROBERTO_UPLOAD_COVERAGE: 1
# Tell invoke to use Bash on Windows.
COMSPEC: 'C:\Program Files\Git\bin\bash.EXE'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Fetch base branch (usually master)
shell: bash
run: |
if [[ -n "${GITHUB_HEAD_REF}" ]]; then
git fetch origin ${GITHUB_BASE_REF} --depth=2
Expand All @@ -50,10 +55,12 @@ jobs:
path: ~/.local/venvs
key: ${{ runner.os }}-Python-${{ matrix.python-version }}-venv
- name: Install Pip and Roberto
shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install roberto>=2.0.0
- name: Test with Roberto
shell: bash
run: |
if [[ -n "${GITHUB_HEAD_REF}" ]]; then
ROBERTO_GIT_MERGE_BRANCH=${GITHUB_SHA} \
Expand Down