Skip to content

Commit

Permalink
Merge pull request #556 from neerdoc/Simplify_CI
Browse files Browse the repository at this point in the history
Simplify CI
  • Loading branch information
neerdoc committed Mar 7, 2022
2 parents b14c66d + fe72d40 commit 6ede2ee
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/execute-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Execute tests
on:
workflow_call:
inputs:
architecture:
required: true
type: string
basepath:
required: true
type: string
Expand Down Expand Up @@ -46,7 +43,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ inputs.architecture }}
architecture: x64

- uses: Gr1N/setup-poetry@v7

Expand All @@ -66,7 +63,7 @@ jobs:

- name: Upload coverage
uses: codecov/codecov-action@v1
if: ${{ inputs.os == 'ubuntu-latest' }}
if: ${{ inputs.os == 'ubuntu-latest' && matrix.python-version == '3.9' && github.repository == 'doorstop-dev/doorstop' }}
with:
fail_ci_if_error: true

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
Test:
uses: ./.github/workflows/execute-tests.yml
with:
architecture: x64
basepath: "/home/runner/work"
os: "ubuntu-latest"
workpath: "/home/runner/work/doorstop/doorstop"
1 change: 0 additions & 1 deletion .github/workflows/test-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
Test:
uses: ./.github/workflows/execute-tests.yml
with:
architecture: x64
basepath: "/Users/runner/work"
os: "macos-latest"
workpath: "/Users/runner/work/doorstop/doorstop"
3 changes: 0 additions & 3 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ name: Windows
on: push

jobs:


Test:
uses: ./.github/workflows/execute-tests.yml
with:
architecture: x64
basepath: 'D:\'
os: "windows-latest"
workpath: 'C:\a\doorstop\doorstop'

0 comments on commit 6ede2ee

Please sign in to comment.