Skip to content

Commit

Permalink
ENH: Switch to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Oct 4, 2023
1 parent f46439e commit 1d4f6e1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .circleci/config.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Testing and Linting

on:
push:
branches:
- main:
pull_request:
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
services:
mongodb:
image: mongo:3.6
ports:
- 27017:27017
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Checkout repo
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Run Linter
run: tox -e lint -- virtual_resources
- name: Run Tests
run: tox -e pytest

0 comments on commit 1d4f6e1

Please # to comment.