Skip to content
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
67 changes: 41 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
name: test

on: [push, pull_request]

jobs:

test:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - py${{ matrix.python-version }}
strategy:
matrix:
os: [windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pip install --upgrade pip setuptools
pip install -e .
- name: Run Tests
run: |
python runtests.py
name: test

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:

test:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.python }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python: [3.9]
include:
- os: ubuntu-latest
python: 3.6
- os: ubuntu-latest
python: 3.9
- os: ubuntu-latest
python: pypy3
- os: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install
# pyperformance must be installed:
# pyperformance/tests/test_compare.py imports it
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -e .
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Run Tests
run: python runtests.py
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.