This code does not have any dependencies that are specific to any specific version of ubuntu. So instead of testing on a specific version and then needing to do work to keep the versions up-to-date, we switch to the ubuntu-latest target which should be sufficient for testing purposes. This work is being done as a part of https://github.com/openedx/platform-roadmap/issues/377 closes https://github.com/openedx/edx-platform/issues/35314
24 lines
440 B
YAML
24 lines
440 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
verify_dunder_init:
|
|
name: Verify __init__.py Files
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out branch
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Ensure git is installed
|
|
run: |
|
|
sudo apt-get update && sudo apt-get install git
|
|
|
|
- name: Verify __init__.py files exist
|
|
run: |
|
|
scripts/verify-dunder-init.sh
|