Skip to content

Commit

Permalink
Merge pull request #1 from deepsense-ai/mh/github_actions
Browse files Browse the repository at this point in the history
Setup github actions
  • Loading branch information
mhordynski authored Apr 3, 2024
2 parents 44cd9ec + b9990b9 commit 7a2a7a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 303 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:
permissions:
checks: write
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.8"

- name: Cache pre-commit
uses: actions/cache@v3
Expand Down Expand Up @@ -60,7 +61,9 @@ jobs:
run: . ./setup_dev_env.sh

- name: Check licenses
run: ./check_licenses.sh
run: |
source venv/bin/activate
./check_licenses.sh
- name: Generate pip freeze
run: |
Expand Down Expand Up @@ -115,7 +118,7 @@ jobs:
fail-fast: false # do not stop all jobs if one fails
matrix:
include:
- python-version: "3.11"
- python-version: "3.8"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:

jobs:
pages:
runs-on: ubuntu-latest
container: python:3.11
runs-on: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
permissions:
contents: write
steps:
Expand All @@ -27,10 +26,6 @@ jobs:
run: . ./setup_dev_env.sh

- name: Build docs
run: ./build_docs.sh

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
run: |
source venv/bin/activate
./.github/scripts/build_docs.sh
291 changes: 0 additions & 291 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 7a2a7a2

Please sign in to comment.