chore(deps): lock file maintenance #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: [push] | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
devstack-branch: | |
- master | |
- open-release/quince.master | |
- open-release/palm.master | |
- open-release/olive.master | |
# Add more branches as needed | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8.15" | |
- name: Set up Pants | |
run: | | |
# Install Pants | |
export PATH=$PATH:/root/.local/bin | |
curl --proto '=https' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh | bash | |
pants package :: | |
- name: Checking formatting with Ruff | |
run: | | |
pip install ruff | |
ruff check --extend-ignore=D1 | |
- name: Setup edX & Run Tests | |
run: | | |
cd .. | |
git clone https://github.com/edx/devstack.git | |
cd devstack | |
sed -i 's/:cached//g' ./docker-compose-host.yml | |
git checkout ${{ matrix.devstack-branch }} | |
make dev.clone.https | |
DEVSTACK_WORKSPACE=$PWD/.. docker-compose -f docker-compose.yml -f docker-compose-host.yml run -v $PWD/../open-edx-plugins:/open-edx-plugins lms /open-edx-plugins/run_devstack_integration_tests.sh | |
- name: Upload coverage to CodeCov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage.xml | |
fail_ci_if_error: false |