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

ci: migrate remaining jobs from travis to gh (SC-1466) #2085

Merged
merged 1 commit into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
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
26 changes: 17 additions & 9 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,24 @@ jobs:
strategy:
matrix:
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ]
name: Python ${{matrix.python-version}} unittest
toxenv: [ py3 ]
experimental: [false]
include:
- python-version: "3.12-dev"
toxenv: py3
experimental: true
- python-version: "3.6"
toxenv: lowest-supported
experimental: false
name: unittest / ${{ matrix.toxenv }} / python ${{matrix.python-version}}
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
steps:
- name: "Checkout #1"
uses: actions/checkout@v3.0.0
- name: "Checkout #2 (for tools/read-version)"
run: |
git fetch --unshallow
git remote add upstream https://git.launchpad.net/cloud-init
- name: "Checkout"
uses: actions/checkout@v3
with:
# Fetch all tags for tools/read-version
fetch-depth: 0
- name: Install Python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
Expand All @@ -29,6 +38,5 @@ jobs:
run: pip install tox
- name: Run unittest
env:
TOXENV: py3
PYTEST_ADDOPTS: -v
run: tox
run: tox -e ${{ matrix.toxenv }}
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.