Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incompatibility with flake8 6.0 (#21)
This PR: - Adds a non-EDM-based test workflow (which fails with the bug identified with #22) - Fixes that bug. Closes #22
- Loading branch information
1 parent
80d3367
commit 1fb4847
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Run test suite (no EDM) | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest', 'windows-latest'] | ||
runtime: ['3.8', '3.11'] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Clone the source | ||
uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install local package | ||
run: python -m pip install . | ||
- name: Run style checks (including our own style checks) | ||
run: python -m flake8 . | ||
- name: Run tests | ||
run: python -m unittest -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters