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

Upgrade GitHub Actions #524

Merged
merged 3 commits into from Jul 15, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Expand Up @@ -12,10 +12,10 @@ jobs:
name: run tests from packaged source
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.x
- name: test
run: |
python setup.py sdist
Expand All @@ -35,7 +35,7 @@ jobs:
# any additional builds for windows and macos
# handled via `include` to avoid an over-large test matrix
os: [ubuntu-latest]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy-2.7", "pypy-3.7"]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy-2.7", "pypy-3.8"]
include:
- os: windows-latest
python-version: "2.7"
Expand All @@ -48,8 +48,8 @@ jobs:
name: "python=${{ matrix.python-version }} os=${{ matrix.os }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install tox
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/test-on-downstream-projects.yaml
Expand Up @@ -14,13 +14,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: python -m pip install tox
- name: build
run: make build
- name: upload latest builds
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: latest-build
path: dist/*
Expand All @@ -34,13 +36,13 @@ jobs:
steps:
- run: git clone "https://gitlab.com/mailman/mailman/" .
- name: download sdist build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: latest-build
path: nose2-build
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: 3.x
- run: python -m pip install tox
- name: setup testenv
run: tox -e py-nocov --devenv testenv
Expand Down