Skip to content

Commit

Permalink
New pr-tests GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed Jan 8, 2025
1 parent c69dd2c commit e288d96
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [self-hosted]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
Expand Down Expand Up @@ -77,13 +77,15 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const github = require('@actions/github');
console.log(github.context);
const context = github.context;
const comment = `
✅ All tests passed for all Python versions!
`;
✅ All tests passed successfully!
- Run ID: ${context.runId}`;
await github.rest.issues.createComment({
...github.context.repo,
issue_number: github.context.issue.number,
...context.repo,
issue_number: context.issue.number,
body: comment
});

0 comments on commit e288d96

Please sign in to comment.