Skip to content

UUID filenames

UUID filenames #372

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
name: build (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # Whether to stop execution of other instances
max-parallel: 2
matrix:
python-version: ["3.8", "3.11"]
os: ["ubuntu-latest", "windows-latest"] # , "macos-latest"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: setup
run: |
python -m pip install --upgrade pip
pip install coverage coveralls
pip install -r requirements.txt
pip install globus_sdk
pip install sparse
pip install -e .
- name: run tests
run: |
flake8 .
coverage run --omit=*one/tests/* -m unittest discover
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}, ${{ matrix.os }}
COVERALLS_PARALLEL: true
coveralls:
name: Indicate completion to coveralls.io
needs: build
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}