Skip to content

Commit

Permalink
Remove windows-2016 from GitHub workflows (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Takishima committed Jan 10, 2022
1 parent b1c7e2d commit b0c2607
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,55 +307,3 @@ jobs:

- name: Make SDist
run: python3 setup.py sdist


win32-msvc2017:
name: "🐍 ${{ matrix.python }} • MSVC 2017 • x64"
runs-on: windows-2016
strategy:
fail-fast: false
matrix:
python:
- 3.6
- 3.7
- 3.8
- 3.9

steps:
- uses: actions/checkout@v2

- name: Get history and tags for SCM versioning to work
if: ${{ !env.ACT }}
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(python -m pip cache dir)"
- name: Cache wheels
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.python }}-pip-${{ hashFiles('**/setup.cfg') }}
restore-keys: ${{ runner.os }}-${{ matrix.python }}-pip-

- name: Setup 🐍 ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}

- name: Prepare env
run: |
python setup.py gen_reqfile --include-extras=test,braket
python -m pip install -r requirements.txt --prefer-binary
- name: Build and install package
run: python -m pip install -ve .[braket,test]

- name: Run all checks
run: |
echo 'backend: Agg' > matplotlibrc
python3 -m pytest -p no:warnings
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Repository

- Add configuration for CIBuildWheel in `pyproject.toml`
- Remove use of deprecated images `windows-2016` in GitHub workflows
- Update `dangoslen/changelog-enforcer` GitHub action to v3
- Update `thomaseizinger/keep-a-changelog-new-release` GiHub action to v1.3.0
- Update `thomaseizinger/create-pull-request` GiHub action to v1.2.2
Expand Down

0 comments on commit b0c2607

Please sign in to comment.