diff --git a/.cirun.yml b/.cirun.yml new file mode 100644 index 00000000..f612bc2a --- /dev/null +++ b/.cirun.yml @@ -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/.yml + # So that this runner is created for running the workflow + labels: + - "cirun-aws-runner" \ No newline at end of file diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index dc519e5b..edd53832 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -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"]