Github Actions Lab 2 - Exploring Workflow Syntax – Part 2

Hi team,

I’m unable to pass the tests for this lab, which I believe because using the python 3.7 in macos-latest will fail the build, with error showing:

The version ‘3.7’ with architecture ‘arm64’ was not found for macOS 14.4.1.

If you could look into this, that would greatly appreciated.

Kind regards,
Henry

I’m wondering if this is your problem: Missing Python versions in `macOS 14` / `macos-latest` · Issue #9770 · actions/runner-images · GitHub. If that’s the case, we may need to update the lab, since macos-latest no longer appears to support python 3.7 and 3.8.

You’re right Rob. The mentioned python versions are no longer supported in macos-latest. Looking forward to the updates! Thank you.

Please check this again. I’m told that the lab has now been fixed, and you should be able to complete it now.

Hi Rob, thanks for the update! I’ve tried again by using the provided solution. The build works perfectly, however there are two tests that are failing.

python-installation.yml

Success build on Github

Failing tests on KodeKloud Lab