Skip to content

update iersdata

update iersdata #631

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Jeff Epler
#
# SPDX-License-Identifier: CC0-1.0
name: Test wwvbgen
on:
push:
pull_request:
release:
types: [published]
check_suite:
types: [rerequested]
jobs:
test:
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11.0-rc.1 - 3.11'
- 'pypy-3.9'
os-version:
- 'ubuntu-latest'
include:
- os-version: 'macos-latest'
python-version: '3.10'
- os-version: 'windows-latest'
python-version: '3.10'
runs-on: ${{ matrix.os-version }}
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install deps
run: |
python -mpip install wheel
python -mpip install -r requirements-dev.txt
- name: Check stubs
if: (! startsWith(matrix.python-version, 'pypy-'))
run: make mypy PYTHON=python
- name: Test
run: make coverage PYTHON=python
- name: Upload Coverage to Codecov
if: always()
uses: codecov/codecov-action@v2
env:
PYTHON: ${{ matrix.python-version }}
with:
env_vars: PYTHON
fail_ci_if_error: true
- name: Upload Coverage as artifact
if: always()
uses: actions/upload-artifact@v2
with:
name: coverage for ${{ matrix.python-version }} on ${{ matrix.os-version }}
path: coverage.xml