<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository upt-macports.
</pre>
<p><a href="https://github.com/macports/upt-macports/commit/bd67d6ca548f9c668043376129fbc2124560a112">https://github.com/macports/upt-macports/commit/bd67d6ca548f9c668043376129fbc2124560a112</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bd67d6c CI: switch from Azure to GitHub Actions
</span>bd67d6c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bd67d6ca548f9c668043376129fbc2124560a112
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Mon May 9 23:19:05 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> CI: switch from Azure to GitHub Actions
</span>---
.github/workflows/main.yml | 29 +++++++++++++++++++++++++++
azure-pipelines.yml | 49 ----------------------------------------------
2 files changed, 29 insertions(+), 49 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5aa0682
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/workflows/main.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name: Run test-suite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+on:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ push:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ branches:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - master
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pull_request:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ branches:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - master
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+jobs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ runs-on: ${{ matrix.os }}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strategy:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ matrix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python-version: [ '3.7', '3.8', '3.9', '3.10' ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os: [ macos-latest, ubuntu-latest ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name: Python ${{ matrix.python-version }}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ steps:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - uses: actions/checkout@v3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Set up Python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uses: actions/setup-python@v3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python-version: ${{ matrix.python-version }}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ architecture: x64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Install latest version of pip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ run: python -m pip install --upgrade pip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Run tox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ run: tox -epy,flake8
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/azure-pipelines.yml b/azure-pipelines.yml
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 5367f17..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/azure-pipelines.yml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,49 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Python package
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Create and test a Python package on multiple Python versions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://docs.microsoft.com/azure/devops/pipelines/languages/python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-trigger:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- master
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-strategy:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- matrix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py37_linux:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'ubuntu-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.7'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py38_linux:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'ubuntu-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.8'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py39_linux:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'ubuntu-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.9'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py37_macos:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'macos-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.7'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py38_macos:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'macos-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.8'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py39_macos:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'macos-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.9'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py310_macos:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- imageName: 'macos-latest'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.version: '3.10'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pool:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vmImage: $(imageName)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-steps:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- task: UsePythonVersion@0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inputs:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- versionSpec: '$(python.version)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- displayName: 'Use Python $(python.version)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- script: python -m pip install --upgrade pip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- displayName: 'Install pip'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- script: pip install tox
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- displayName: 'Install Tox'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- script: tox -epy,flake8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- displayName: 'Run Tox'
</span></pre><pre style='margin:0'>
</pre>