Skip to content

Commit

Permalink
add ci run
Browse files Browse the repository at this point in the history
  • Loading branch information
khintz authored Jun 3, 2024
1 parent 9a4096a commit cb34bc0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .cirun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
runners:
- name: "aws-runner"
# Cloud Provider: AWS
cloud: "aws"
# Cheapest VM on AWS
instance_type: "t2.nano"
# Ubuntu-20.4, ami image
machine_image: "ami-06fd8a495a537da8b"
preemptible: false
# Add this label in the "runs-on" param in .github/workflows/<workflow-name>.yml
# So that this runner is created for running the workflow
labels:
- "cirun-aws-runner"
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
pre-commit-job:
runs-on: ubuntu-latest
runs-on: "cirun-aws-runner--${{ github.run_id }}"
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand Down

0 comments on commit cb34bc0

Please sign in to comment.