Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrobolcato committed Sep 20, 2023
1 parent 9a69776 commit 0793d0b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci
on: [push, pull_request]

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Set up `dev` conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: dev
environment-file: envs/dev.yaml
auto-activate-base: false
- name: Run tests
run: |
python -m pytest vectorizing/tests/test.py

0 comments on commit 0793d0b

Please sign in to comment.