Skip to content

Commit

Permalink
move to instadeep-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vikranth-t committed Jul 24, 2024
1 parent 7efc6b1 commit c79ad50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: instadeep-ci
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/tests_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@ on: [ push, pull_request ]

jobs:
tests-and-linters:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"

strategy:
matrix:
python-version: ["3.9"]
os: ["instadeep-ci"]
name: "Python 3.9 on instadeep-ci"
runs-on: instadeep-ci
container:
image: python:3.9

steps:
- name: Install dependencies for viewer test
run: sudo apt-get update && sudo apt-get install -y xvfb
run: apt-get update && apt-get install -y xvfb
- name: Checkout flashbax
uses: actions/checkout@v3
- name: Install python dependencies 🔧
run: pip install .[dev]
- name: List python packages 📦
run: pip list
# Workaround for https://github.com/actions/checkout/issues/1169
- run: git config --system --add safe.directory $GITHUB_WORKSPACE
- name: Run linters 🖌️
run: pre-commit run --all-files --verbose
- name: Run tests 🧪
Expand Down

0 comments on commit c79ad50

Please sign in to comment.