Skip to content
This repository was archived by the owner on Sep 4, 2022. It is now read-only.
This repository was archived by the owner on Sep 4, 2022. It is now read-only.

Problem running tests with Swift 5.5.2 #1

@cbaker6

Description

@cbaker6

I've been using this action with Swift 5.5.1 for the ParseSwift repo and have ran into very little issues. Every once in awhile 1/10 times it doesn't build the project and I need to rerun my CI; not a big deal.

For Swift 5.5.2, this issue is consistent as I can't run the tests at all. In addition, the Swift 5.5.2 takes a lot longer to build. I do have more async/await files in 5.5.2 (I ignore these in 5.5.1), but the difference in time is on 5.5.1 takes ~ 3 minutes to build and run the whole test suite and in 5.5.2 takes > 5 minutes to build, start the test and fail on the first test. My setup in actions is below:

windows:
    runs-on: windows-2019
    steps:
      - uses: actions/checkout@v2
      - uses: MaxDesiatov/swift-windows-action@v1
        with:
          swift-version: "5.5.2"
          shell-action: swift test --enable-test-discovery -v
      #    shell-action: swift test --enable-test-discovery --enable-code-coverage -v
      #- name: Upload coverage to Codecov
      #  uses: codecov/codecov-action@v2
      #  with:
      #    env_vars: WINDOWS
      #    fail_ci_if_error: false

Failed action in 5.5.2 with the above action setup: https://github.com/parse-community/Parse-Swift/runs/4843124003?check_suite_focus=true#step:3:7963

Successful action in 5.5.1: https://github.com/parse-community/Parse-Swift/runs/4842818376?check_suite_focus=true#step:3:7391

On both versions, the CI is build/test/passing in Linux using the swifty-linux-action which is why I believe it should build/pass in Windows. You can see the PR where I was testing this here: parse-community/Parse-Swift#320

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions