Skip to content

Commit

Permalink
Enable tests on Windows (#30)
Browse files Browse the repository at this point in the history
* Enable tests on Windows

* Specify bash shell everywhere it specifically is required

* Update .github/workflows/README.md
  • Loading branch information
garrison authored Feb 23, 2022
1 parent 6abb7bd commit d692476
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This workflow checks that the code is formatted properly and follows the style g

## Latest version tests (`test_latest_versions.yml`)

This workflow installs the latest version of tox and runs [the current repository's tests](/tests/#test-py-environments) on each supported Python version. This is the primary testing workflow. It runs for all code changes and additionally once per day, to ensure tests continue to pass as new versions of dependencies are released.
This workflow installs the latest version of tox and runs [the current repository's tests](/tests/#test-py-environments) under each supported Python version on Linux and under a single Python version on macOS and Windows. This is the primary testing workflow. It runs for all code changes and additionally once per day, to ensure tests continue to pass as new versions of dependencies are released.

## Development version tests (`test_development_versions.yml`)

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_development_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Set up tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox_env="-epy${pver/./}"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
include:
- os: macos-latest
python-version: 3.7
- os: windows-latest
python-version: 3.7
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set up tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox_env="-epy${pver/./}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_minimum_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Set up tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox_env="-epy${pver/./}"
Expand Down

0 comments on commit d692476

Please sign in to comment.