EBSECan / donatemask

Donate A Mask Project Repository
GNU Lesser General Public License v2.1
10 stars 7 forks source link

Rework Actions workflows to handle secrets properly in PRs vs. merges #116

Closed humphd closed 2 years ago

humphd commented 2 years ago

Based on my testing, we can't access the repo secrets needed for integration testing in a pull request, only on pushes to main. This alters the workflows so that we run unit tests on PRs, but unit tests AND integration tests when we merge.

I've also remove the disabled workflow.

humphd commented 2 years ago

Works on main too: https://github.com/EBSECan/donatemask/runs/6573840535?check_suite_focus=true

I won't keep reporting on this in subsequent PRs, since it's all working. We can just monitor for failures on main in the future and deal with them as needed.