35/71
Sign inSign up free

810. An Experimental Matrix Entry That May Fail

medium 20 XP ~9 minHands-on lab

/home/student/repos/webapp/.github/workflows/test.yml tests on Python 3.11 and 3.12 on Ubuntu. The team wants to start testing the Python 3.14 pre-release, but its failures must not block merging yet.

Task

Change the test job's matrix so that:

  • the existing combinations stay (3.11 and 3.12 on ubuntu-latest), and are not experimental,
  • one extra combination is added with include: python: '3.14', os: ubuntu-latest, experimental: true,
  • the job's continue-on-error comes from matrix.experimental, so only that entry may fail,
  • actions/setup-python gets allow-prereleases: true for the experimental entry (use the matrix value),
  • a failure in one entry doesn't cancel the others.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.