Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:darrenburns/ward into master
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Feb 19, 2021
2 parents b4901ef + bb3430c commit 4d439e9
Show file tree
Hide file tree
Showing 11 changed files with 671 additions and 487 deletions.
53 changes: 31 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build
on:
push:
branches:
- master
- release/*
- master
- release/*

jobs:
test:
Expand All @@ -14,28 +14,37 @@ jobs:
max-parallel: 9
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.6, 3.7, 3.8]
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: dschep/[email protected]
with:
version: 1.0.3
create_virtualenvs: true
- name: Run tests with Ward
run: |
poetry install
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage report to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage.xml
shell: bash

- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: snok/[email protected]
with:
virtualenvs-create: true

- name: Install dependencies
run: poetry install --no-interaction

- name: Run tests with Ward
run: |
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage report to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage.xml
shell: bash

# TODO: Update to use the Makefile and actually enforce this.
# - name: Lint with flake8 (CONFIG OUTDATED)
Expand Down
51 changes: 30 additions & 21 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Ward Pull Requests

on: [pull_request]
on: [ pull_request ]

jobs:
test:
Expand All @@ -10,25 +10,34 @@ jobs:
max-parallel: 9
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.6, 3.7, 3.8]
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: dschep/[email protected]
with:
version: 1.0.3
create_virtualenvs: true
- name: Run tests with Ward
run: |
poetry install
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage report to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage.xml
shell: bash

- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- uses: snok/[email protected]
with:
virtualenvs-create: true

- name: Install dependencies
run: poetry install --no-interaction

- name: Run tests with Ward
run: |
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage report to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage.xml
shell: bash
Loading

0 comments on commit 4d439e9

Please sign in to comment.