This pull request introduces two new GitHub Actions workflows to automate the continuous integration and deployment processes. The first workflow, CI, is designed to build and test the project, while the second workflow, Sweep GHA Fix, addresses issues related to GitHub Actions runs.
Summary
Added a new GitHub Actions workflow file .github/workflows/main.yml for continuous integration:
Triggers on push and pull_request events on the main branch.
Sets up a Python environment and installs dependencies matplotlib and pandas.
Configures an SQLite database using validation_runs.sql.
Executes the charts.py script with the database.
Uploads logs for debugging if the build fails.
Introduced a new GitHub Actions workflow file .github/workflows/sweep.yaml to fix GitHub Actions run issues:
Triggers on push and pull_request events on the main branch.
Configures Git with a bot user for committing changes.
Authenticates using a Personal Access Token (PAT) stored in secrets.
Runs the charts.py script and commits any generated images.
Pushes changes back to the main branch with a commit message "Add generated images [skip ci]".
Description
This pull request introduces two new GitHub Actions workflows to automate the continuous integration and deployment processes. The first workflow,
CI
, is designed to build and test the project, while the second workflow,Sweep GHA Fix
, addresses issues related to GitHub Actions runs.Summary
.github/workflows/main.yml
for continuous integration:push
andpull_request
events on themain
branch.matplotlib
andpandas
.validation_runs.sql
.charts.py
script with the database..github/workflows/sweep.yaml
to fix GitHub Actions run issues:push
andpull_request
events on themain
branch.charts.py
script and commits any generated images.main
branch with a commit message "Add generated images [skip ci]".