Skip to content

Commit

Permalink
Fixes in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sashgorokhov committed Sep 19, 2023
1 parent ef92feb commit 08f5bbc
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ permissions:
contents: write

jobs:
test:
runs-on: ubuntu-latest
test_and_build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4.7.0
with:
python-version: "3.9"
python-version-file: pyproject.toml
cache: poetry
- run: poetry install --with dev
- name: Run pre-commit
Expand All @@ -28,22 +28,6 @@ jobs:
- name: Test
run: |
poetry run pytest -svvv tests/
build:
needs:
- test

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v3
with:
python-version: "3.9"
cache: poetry
- run: poetry install --with dev
- name: Build .exe
run: |
poetry run pyinstaller -y -F --clean --log-level INFO mavlog2csv.py
Expand Down

0 comments on commit 08f5bbc

Please sign in to comment.