Commit 7f8f214
authored
Fix broken CI: Make CI tooling constraint paths absolute (#382)
* Update pip and pipx syntax in test workflow
Updated the syntax used for specifying constraints during pip, poetry, and nox installations in the GitHub tests workflow. Shortened "--constraint" to "-c" for pip operations, and wrapped pip arguments in quotes for pipx operations for better readability and consistency.
* add github workspace prefix to file paths
* Refactor $GITHUB_WORKSPACE usage in test workflows
Updated all instances of $GITHUB_WORKSPACE usage in the .github/workflows/tests.yml file to ${GITHUB_WORKSPACE}. This ensures proper variable usage within the GitHub Actions environment. Fixed all occurrences in pip, pipx, Poetry, and Nox installation steps.
* Update GitHub workflow to use env variable
The commit replaces the use of `GITHUB_WORKSPACE` to `env.GITHUB_WORKSPACE` in various pip, pipx, and poetry install commands throughout the GitHub actions workflow. This is to ensure that the environmental variable is consistently used for accessing the workspace path.
* Update GitHub actions paths
The commit replaces the use of environment variables with the built-in GitHub context for specified paths. Changes were made in the 'tests.yml' workflow file, particularly on steps that upgrade pip, install Poetry and Nox. This is to ensure the uniformity and efficiency of the action scripts.1 parent 8124a56 commit 7f8f214
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments