Skip to content

Commit

Permalink
test #7
Browse files Browse the repository at this point in the history
  • Loading branch information
lowtower committed Jan 14, 2022
1 parent 3716b72 commit aaf2dc0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ on: [push, pull_request]

jobs:
lint_and_test:
runs-on: ${{matrix.config.os}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: true
max-parallel: 4
matrix:
config:
# - {os: ubuntu-latest, r: 'release'}
# - {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
# os: [ubuntu-latest, macos-latest, windows-latest]
# python-version: [3.6, 3.7, 3.8, 3.9]
os: [windows-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: Set up ${{runner.os}} - Python ${{matrix.python-version}}
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
# - name: Set up Python - ${{runner.os}}, v${{matrix.python-version}}
# uses: actions/setup-python@v2
# with:
# python-version: ${{matrix.python-version}}
# cache: pip
- name: Display Python version
run: python --version
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Check formatting (black)
run: black --line-length 120 --check --diff gpxtrackposter tests scripts
- name: Lint (pylint)
Expand Down

0 comments on commit aaf2dc0

Please sign in to comment.