Skip to content

Add anthropic provider #2605

Add anthropic provider

Add anthropic provider #2605

Workflow file for this run

name: "Fractl clj CI"
on:
push:
branches:
- main
pull_request:
branches:
- "*" # matches every branch that doesn't contain a '/'
- "*/*" # matches every branch containing a single '/'
- "**" # matches every branch
jobs:
test_clj:
strategy:
matrix:
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: ${{ matrix.platform == 'windows-latest' && 'cmd' || 'bash' }}
steps:
- name: Setup postgres
uses: ikalnytskyi/action-setup-postgres@v4
- name: Checkout
uses: actions/checkout@v4
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '19'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
lein: 2.9.1 # Leiningen
- name: Installing fractl-io dependencies
run: |
lein -v
git clone https://${{ secrets.REPO_READ_WRITE_TOKEN }}@github.com/fractl-io/fractl-config-secrets-reader
cd fractl-config-secrets-reader
lein install
- name: Install dependencies
run: lein deps
- name: Cache clojure depdendencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: cljdeps-${{ hashFiles('project.clj') }}
restore-keys: cljdeps-
- name: Run fractl test
run: lein test
env:
# The hostname used to communicate with the PostgreSQL service container
POSTGRES_HOST: localhost
# The default PostgreSQL port
POSTGRES_PORT: 5432
POSTGRES_PASSWORD: postgres
- name: Clean target
run: lein clean